The Condition.Vue web component will search for the “example1” field and try to set the value of “example1” to the “example2” field.
<condition-component searchfield="example1" setfield="example2"></condition-component>
Example:
https://demo.simpliform.se/forms/iBqVu48QSAs2D9YZ7dii
Other available web components to equip your forms with:
- SumFields.vue – Add multiple fields (example)
- Compare.Vue – Compare two fields, true or false (example)
- ConcatFields.vue – Merge content from multiple fields into a new field (example)
- HideButtons.Vue – Hide buttons (example)
- Reset.Vue – Reset/clear field (example)
- TodaysDate.Vue - Sets textfield or calendar to todays date (example)
0 Comments