Categories
Web Components

Web Component – Reset/clear fields (Reset.vue)

This web component will set the value of the specified fields (value1 to value5) to an empty string. The parameter linktext will be the name of the clickable URL, if it is not specified, it will be set to “Clear”.

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

<reset-component value1="example1" value2="example2" linktext="Clear fields"></reset-component>

Example:

https://demo.simpliform.se/forms/ILUxb2Q2CJ0U0sZC7cyr

Other available web components to equip your forms with: