Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Button is a part of almost every form.  Sometimes you may even leverage multiple buttons on a form depending on various conditions or form state.  Buttons have an action associate with them, and the default action is Submit.  As the name suggests, Buttons with the Submit action submit the form to the GlobalForms database. 

Buttons have a variety of properties available to them.  Of particular interest are the following:

  • Label - Use a Button's Label to control the text displayed on the Button itself.  While the acutal text displayed carries not technical relevance, it's often a good idea to make labels contextual for your users.  For example, on an expense for, it might be a good idea to change a Button's Label from Submit to Submit Expenses

    Because multiple buttons can exist on a Form, it can make for a smoother user experience to dynamically show and hide Buttons with different Labels depending on the form state.  For example, you might want the Submit Expenses button to hide, and show an Approve Expenses button when a form goes from the submitter to an approver in an expense approval process.

  • Action - Relevant Actions include Submit, Reset, and Custom.

    Use the Submit action to enable a user to submit a form.  Without an available submit button on a Form, user input can never be captured by the system.

    Use the Reset action to clear all form input restore any default values if applicable.

    Use the Custom action to write a JavaScript rule to perform any custom form logic on a button click.

  • Button Custom Logic - You can provide JavaScript rules for buttons with the Action Type of Submit or  Custom.  When the button is clicked, the rule will execute.
  • No labels