Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click the Copy icon to make a copy of the Order Info form. Then, click the Edit icon to open the Form Designer.
  2. In the Properties Panel, change the form name to Order Info Rules.
Rule: Automatically Set Date to today's date

...


  1. Click the  rules icon on the toolbar. Create a new rule and click the icon to edit it.
  2. Change the name of the rule to: Initialize form
  3. Click on the Rule Builder button.

    1. Click Next to go to the Action wizard.

    2. Click the Add Action button on the top right of the Action Wizard

    3. Select TodaysDate from the first dropdown. TodaySDate is the Name of the Date control at the top of the form. If your control is named something else, select that control from the dropdown.replace TodaySDate below with that name

    4. Select to from the second dropdown

    5. Type today in the Expression field and click on the today function when it displays in the dropdown 

  4. Click Finish then click on the save and test icon. Now, when the end user first starts using the form, the Date control at the top will be set to today's date. No need for the user to type it in.

    Expand
    titleClick here to see this rule in the Visual Rule Builder

     

...

Expand
titleClick here to see this rule in the Visual Rule Builder

Now, when the user selects an item and a quantity, the subtotal for that line and the overall grand total are overall Grand Total is automatically calculated and updated with the Subtotal amounts as rows are filled in and added to the table. Try deleting a row in the table. Notice the Subtotal amount for that row is subtracted from the Grand Total 

...