Use the Button builder, the Link builder or HTML event action for form submittal.
Like any other HTML form page, the page on which the Data Page builder operates needs to have some UI control that allows the user to submit the form. You can use a Button or Link builder call to add the corresponding control to the page or you could use an HTML Event Action to allow the user to submit the form when they cause a particular HTML event to be fired (for example, clicking on a control or changing the value of a text box).
To add a control that allows the user to submit the form:
- Determine how you want to allow the user to submit the form.
This example uses the Button builder as an example. Use the settings for action type and action described here for a Link, HTML Event Action, or Image Button builder.
- Set the Action Type value to Submit form and invoke action.
- Set the Action value to DataPageName_NextAction
If you want to perform any server-side validation, specify the name of that method for the submit control's Action
value. In the method that performs the validation, make sure that you call the DataPageName_NextAction
method as the last action to perform.
Parent topic: Creating pages and forms