Web Component – Sets textfield or calendar to todays date (TodaysDate.Vue) (eng)

A simple web component that sets a Text field or a Date field to todays date when the form is opened.

To set a Text field or a Date field to todays date you need to name the Text field (thisone and thisone2 in the example) and then add a Custom HTML field and click the </> Source button and fill in the following code:

<todays-date setfield="thisone"></todays-date>

If you were to add a Date field to the same form as well, you need another Custom HTML field specifying the name of the Date field.

<todays-date setfield="thisone2"></todays-date>



Other available web components to equip your forms with:

Var denna artikel till hjälp?
0 av 0 tyckte detta var till hjälp

0 Kommentarer

Artikeln är stängd för kommentarer.