Clone fields

Tef046 30 Jun, 2023
Hi,

How can I clone a field in another one, on the same page of a form ?

Example: I have a field named first_name and when the user filled it, I want the field first_name_1 have the same data.

I tried to apply an event Set Value on the field first_name_1 but I don't know de right syntax ({field_name.first_name} - {data:first_name}. ..).

Someone to help me ?

Tanks in advance.
Max_admin 10 Jul, 2023
this syntax is for form data, it will not work with the cloner, the cloner will not clone fields with their values, so I'm afraid that you may need to have some custom solution with javascript to listen to the button click and set the value.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.