AnsweredAssumed Answered

Programmatically submit a form

Question asked by soulpower on Apr 17, 2011
Latest reply on Apr 19, 2011 by soulpower
I'd like to know if there's a way for programmatically submit a form - generated with the "new Alfresco.formUI(…)" constructor - without involving the user click on the submit button.
In classic javascript it could be document.forms["form_id"].submit() but this doesn't work for Alfresco's forms (error from the server).
I've tried to simulate the "click" event to the submit button with the YUI libraries, but it seems too much complicated for me.
Please help!