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 4 Next »

Introduction

Validation can be added to specific fields to check data as it is entered and before completing an Actionflow. Examples of validation include, checking if a field:

  • has been completed
  • contains certain numbers, letters or special characters
  • is in a desired format, e.g. a website or email address
  • and more...

Mandatory Fields

  1. Open the Companies Form screen from the screen's home page. This ensures there is no data selected.
  2. Ensure your screen is  Unlocked.
  3. Click on the Company Name field twice to open its  Styles tab
  4. Click on the  Properties tab
  5. In the Validation section:
    1.  Tick Mandatory and toggle it on 
  6.  Apply your changes
  7. Close and reopen the Companies Form to ensure the new formatting rule is applied.
  8.  Lock the screen. Now the field label has an asterisk.

Perform Validation Before Saving

Note: This is for PhixFlow versions pre 10.1 only.

To ensure users cannot save the Companies Form until all validation requirements have been complied with, the Actionflow on the Save button must be updated.

  1. On the Companies Form, right-click on the Save button and choose Display Actionflow
  2. On the Actionflow, click  Properties in the toolbar
  3. Toggle on  Perform Validation before running
  4.  Apply the changes
  5. Close the Companies Form and reopen it ensure the changes take affect
  6. Fill in any fields but leave Company Name blank
  7. Press Save
    1. An error message will show with Validation Failed
    2. The Company Name field border will appear red with an error message on mouse over

Exercise

  1. On your Companies Form, click on the Company Name field header
    1. Note: You may need to click on it twice to ensure the  Properties that opens is for Static Text
  2. On the  Styles tab, add a CSS property, which applies a red text colour when the mouse moves over the Company Name header
    1. CSS Tag: color
    2. Value: red
 Show me how

  • No labels