P_barton Posted June 1, 2015 Report Share Posted June 1, 2015 Hi Does anyone have any script which will do the following. On a datapage field When a field is changed on a datapage and the user moves off to the next field, copy the value of the field to another field. Or even a button to do the copy. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
0 Jan Posted June 2, 2015 Report Share Posted June 2, 2015 Hi, What type of a DataPage do you use? If it is a Submission Form, I think, you can use the following code: <SCRIPT LANGUAGE="JavaScript"> function fillSecondField() { document.getElementById("InsertRecordField2").value = document.getElementById("InsertRecordField1").value; } document.getElementById("InsertRecordField1").onchange=fillSecondField; </SCRIPT> Please enter names of your fields instead of Field1 and Field2. I hope, it helps. Quote Link to comment Share on other sites More sharing options...
Question
P_barton
Hi
Does anyone have any script which will do the following.
On a datapage field
When a field is changed on a datapage and the user moves off to the next field, copy the value of the field to another field.
Or even a button to do the copy.
Thanks in advance.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.