This web component is used to gather values from multiple fields into a new joint field. The maximum limit for number of fields that can merge is 10. If a field is specified in the concat value but not sent as field, then the value will not be replaced.
Example usage, how to declare in your form as “Custom HTML“:
<concat-fields concat="Kommunen är {kommun} och datumet är {datum} och adressen är {adress}, och ett dolt fält med värde {dolt}" field1="kommun" field2="datum" field3="adress" field4="dolt" setfield="rubrik"></concat-fields>
Example:
https://demo.simpliform.se/forms/n2YM1kzov74JPOeZzlHY
Other web components that are available for your forms are:
- SumFields.vue – Add multiple fields (example)
- Compare.Vue – Compare two fields, true or false (example)
- Condition.Vue – Search value from field and write value to 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