...
The default theme applied when forms are created in has a submit button located at the end of the form. The forms designer lets you easily add additonal submit buttons in a special area at the end of a form.
Warning |
---|
Users expect the submit and cancel buttons to be located at the bottom of a form. Moving the location of the Submit control is not recommended. |
You You can use the following JavaScript to display an extra submit button at any position on your form. Add a trigger control to your form and set auto-submit in the CSS Class property. Now you can use this trigger control as your Submit button and place it anywhere on your form.
Code Block |
---|
var CustomEventHandlers = { submitEl: null, setup: function (el) { if (CustomView.hasClass(el, 'auto-submit')) { FEvent.observe(el, 'click', this.autoSubmit.bindAsObserver(this, el)); } }, autoSubmit: function (evt, el) { window.setTimeout('CustomEventHandlers.doAutoSubmit()', 2000); }, doAutoSubmit: function () { SubmitView.doSubmit("Submit"); } } |
Tip |
---|
Users expect the submit and cancel buttons to be located at the bottom of a form. Moving the location of the Submit control is not recommended. |
Continue/Finish button on top of the flow
...