Validation Rule Using Field Update Workflow

In this guide, we will explain how to set validation rules using the Field Update Workflow field.

We will use Conditional logic to set validation rules.

Drag and drop three Select and a Multiple Fields Per Row field. Rename the Select fields as shown below.

image

Drag and drop three CheckBox and a Multiple Fields Per Row field. Rename the CheckBox fields as shown below.

image

Drag and drop a Field Update workflow, a Hidden, an HTML and a Navigation field. Rename the Hidden and HTML fields as shown below.

image

[Optional] You can set all Select fields in a row.

Click the pencil icon of the first Multiple Fields Per Row field. Select all three Select fields. Save the changes.

image

[Optional] You can set all CheckBox fields in a row.

Click the pencil icon of the second Multiple Fields Per Row field. Select all three CheckBox fields. Save the changes.

image

Click the pencil icon of the Fields Update Workflow field. Set “Rule Criteria” for the Select and CheckBox fields as shown below.

image

Set “Field Update Success” and “Fields Updates Fail” as shown below

image

Fill in Rule Criteria Conditional Logic.

image

Please use this logic:

( 1 AND 2 AND 3 ) OR ( 4 OR 5 OR 6 )

Click the pencil icon of the HTML field and paste the code.

image

Please use this code:

<p style="color:red;">
  {{8187-2e84-992f}}
</p>

Update the field Id according to your form. Save the changes.

image

Try the form. The Navigation button is hidden, and we can see the HTML error message.

image

Now we can see the Navigation button after selecting one CheckBox and one Select field.

image

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂