How You Update Fields Using Autosubmit

Autosubmit is a UI property that drives the business object update based on a change of value in individual fields.

Let's look at how it works.

  • For required fields and some others that drive critical business logic in the application (even without Autocomplete), the Autosubmit property is already set to True.

  • For optional and other fields, this property is set to False, by default.

You can configure the Autosubmit property using the page composer. To do this, you must first enable a sandbox and add the page composer tool. Then do these steps:

  1. Enter values in mandatory fields in a flow and initiate the Page Composer tool.

  2. Navigate to the Structure tab.

  3. You need to display the source code window. Hover at the end of the page until you can change the size of the sub-window. You can click or drag-up and release to expand the source window. You may also choose to show this window on the side using the Dock icon in your source window.

  4. Hover over the field that's the trigger for the field-level autocomplete rule.

  5. Click in the field when the label and the field (text or list of values) are highlighted with a color box. Both the label and the field must be highlighted.

  6. Click Edit to edit the task flow component.

  7. The source code corresponding to the field component you selected should already be highlighted.

  8. You have 2 options at this point.

    Option 1

    • If the field component is a predefined application field then click on the Settings icon to display the component editor.

    • Select the Autosubmit property.

    • Click Apply and Save.

    Option 2

    • If the field component is a deployed flexfield specifically for this object, scroll up the source window and locate the nearest higher-level component that enables you to manage UI properties for the entire flexfield segment. Click the Settings icon, to show the component editor for the entire flexfield segment. Note that you won't be able to edit the UI component properties for individual flexfields.

    • Ensure that the Autosubmit property is set to True when you're in the component editor.

    • Click Apply and Save.

The Autocomplete Field Validation Rule is set to trigger when the triggering event (value entered in a field) is in focus and the business object recognizes a value change in the UI corresponding to the field.