Web Component – Compare two values (Compare.Vue)

There are several web components available for Forms. The Compare.Vue web component compares values from two fields. If the value of the two fields are equal, a third field is set to true and if the fields do not match it is set to false.

Example usage, how to declare in form as “Custom HTML“:

<compare-component value1="example1" value2="example2" setfield="example3"></condition-component>

Will check if value1 equals value2 and try to set the field named “example3” to true or false.


Other available web components to equip your forms with:

Was this article helpful?
0 out of 0 found this helpful


Article is closed for comments.