duplication of a record from table to form

jennv
Mega Guru

Hi everyone,

I am trying to do something in a form. I have a true/false question "do you want to duplicate an existing record?" and if th end user clicks it, another (reference) field is shown, asking to choose the record they want to duplicate (from the same record producer of course). Now what i want is that when the user chooses the record, all the other fields of the form be filled with the information of the record that they chose. Something like : form.variable1=choosenRecord.variable1

I put these 2 fields in a variable set and I was thinking to write the script in the catalog client script of the variable set, because i need to do the same thing for other forms too, but if you think something else is better, please let me know.

Thanks everyone in advance!

jennv_0-1726646263277.png

 

0 REPLIES 0