Form Actions - v22-appfactory/appfactory-wiki GitHub Wiki
Form actions allow the configuration of actions that will be taken when events occur while interacting with a form.
Simple examples are navigating to different page after successful submission of a record or loading data when opening a
page.
NOTE: The current page actions are configured using knowledge of Javascript and will need to be refined to allow non-programmers to configure the actions.
Select the application whose resources will be maintained. Selection of the application will populate the Page Forms select control options.
Select the application page whose resources will be maintained. Selection of the page will populate the Request Action Records datatable.
The record ID.
The event that will trigger the action. Events are of the type: add, delete, edit, goto, load, etc.
The type of action to be taken is specified by selecting the action from the 'Actions' select box. Subsequent data is specific to the action selected.
The JSON data that will be used in the action specific to the action being performed.
Example: {"url":"/appquery/1","params":{"recordid":":id","appcolumnid":485}}
Creates or updates the application and reloads the datatable. When all required fields are entered the Submit button is enabled.
Cancels or clears the input allowing new records to be entered.
Provides a list of the records in the table using the standard datatable.
Loads the record values in the fields for editing.
Allows the user to confirm and then delete the record.