Save and Add behaviors are settings on forms that allow the builder to define how the form will behave when the form is submitted (the Save or Add button is clicked). Multiple behaviors can be set up on any one form, and if more than one exist on a form that has the appropriate security (in either edit mode or add mode) and can be submitted (for pages, has save controls enabled; for other forms, has independent save controls enabled), the end user gets a choice of behaviors, and the selected option will actually execute.
Settings
Option Title - This is the text that will appear next to the Save or Add button. If only one behavior is present for the appropriate
mode, the text will be displayed as plain text. If multiple behaviors are present, the text of each available option will be displayed in a drop-down for the user to choose from. If left blank, and only one behavior present, no text will proceed after the button. This is very helpful when
My Form (required) - the choice selected here will be what happens to the form that's getting submitted. Options are:
Reload Current Page - when selected, the
page the submitted
form is on will reload in the selected mode when the form is submitted.
Reload Current Form - when selected, the submitted form will reload in the selected mode when the form is submitted.
Load Different Page - when selected, the browser window the submitted form is on will load in the selected mode to the selected page when the form is submitted.
Close Popup - when selected, the browser window the submitted form is on will close. Behaviors with this option selected are only available if the page was opened in a popup.
Close Page - when selected, if the browser window the submitted form is on was opened by clicking a link (not using a bookmark, or entering a
URL directly), then the window will close. If the form is loaded through direct means (not through a link), then Behaviors with this option selected will not be visible. If the only behavior for the Save is one of these, then it will default to reloading the page.
Form Below - the choice selected here will be what happens to the form that the
link that opened the current window is on. Note that this setting only applies when the current page is opened in a popup. Options are:
Reload Opening Page - when selected, the page the link that opened the current page is on will reload in the selected mode when the form is submitted.
Reload Opening Form - when selected, the form the link that opened the current page is on will reload in the selected mode when the form is submitted.
Load Different Page - when selected, the browser window the link that opened the current page is submitted form is on will load in the selected mode to the selected page when the form is submitted.
Reload Opening Row - when selected, the
list row the link that opened the current page is on will reload when the form is submitted. The mode of the opening row will stay the same it was.
Forms to Reload - Enter a comma separated list of the Form ID's you want to reload when this Form or Page is saved. An example might be; a123,a234,a345.
Order - This setting determines the order the behaviors appear in if there is more than one behavior available.
See Also