I feel silly not knowing the answer to this, because I've been messing around with this stuff for so long.... But there has to be an easier way to do what I'm doing.
I have two textfields... 'Name' and 'Name_Clone'... I want 'Name' to be a user input, but I want it to automatically copy whatevers into into 'Name_Clone' as well... The reason for this is because I'm going to make 'Name_Clone' sometimes hidden, but 'Name' will always show up.
Like I said - stupid question, easy solution. What's the simplest code for this? Thanks.
Use the following custom Validate script for the Name field:
getField("Name_Clone").value = event.value;
The most simple way is to give the same name to both the fileds . example for the name field you can give text field name as "NameField" and for the nameclone field also give the same name as "NameField"
SO when user will enter the name and it will go automatic to name clone.