Duplicate fields, but with different field names
Hi all,
I have created an example of a field that duplicates what a user inputs. The name field is duplicated in the Policy name field, which is exactly what I need it to do.
https://drive.google.com/open?id=1K3C-aw2B8lE51l6xIXJ-yjX3vm2-MWK5
To do this, I added an On Blur/Run a JavasScript to othe Name field:
this.getField(event.target.name + "_2").value = event.value ;
To get the second field (which is Read Only) to populate, I had to name the field "Name_2"
My question is this: if I wanted to call the field "Policy Name" instead of "Name_2", is this possible? And, is therre any problem with a field name being multiple words with a space (Policy Name) vs no space (PolicyName)
Thanks in advance