duplication of a record from table to form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 01:04 AM
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!