To display MVC forms on your pages, you use the Form widget. When you place the Form widget on a page that is in Hybrid or Pure MVC mode, you select which MVC form to display.
PREREQUISITES: You created at least one MVC form item.
Settings define custom actions that occur after a user submits the form. You can opt to use custom confirmation that enables you to select what happens after a form is submitted.
NOTE: If you do not select any option, the widget uses confirmation action that you defined in the form item.
Choose one of the following:
In the Advanced settings section, you configure the individual properties of the widget. The model settings, specifically, display all properties directly bound to the Form widget model. Access these properties by clicking the Model button in Advanced settings.
Gets and sets AJAX submit URL. Use only when UseAjaxSubmit is set to True.
Gets and sets an additional CSS class for the form wrapper element.
Gets and sets custom confirmation message that would be displayed after successful submit of the form. Applicable only when CustomConfirmationMode is set to ShowMessageForSuccess.
Defines action after successful form submit:
Gets and sets ID of the page where the user will be redirected after successful submit of the form. Applicable only when CustomConfirmationMode is set toRedirectToAPage.
Gets and sets ID of the form displayed in the widget.
Defines whether the form will be submitted with AJAX request.
Gets or sets whether to use custom confirmation action when the form is submitted successfully. If this setting is set to False then the default settings of the form item will be applied.
Gets or sets the mode of the form
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.