Jump to content
  • 0

How To Copy One Field Value To Another On Submission



1 answer to this question

Recommended Posts

  • 0

Add an HTML block to your page and click on source. use the code below:

<input type="button" Value="Same as above" onclick="copy()"/>
function copy(){
document.getElementById('InsertRecordFIELD2NAME').value = document.getElementById('InsertRecordFIELD1NAME').value; 


FIELD1NAME is the one you want to copy to FIELD2NAME. Make sure to replace them with correct field names.

Link to comment
Share on other sites

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.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...