Jump to content
  • 0

Updating A Unique Field



Happy new year! Could someone help me in this script? I am trying to edit a unique field in an update form. It allows me to edit f I select a text field. But to prevent the user from making a mistake, i enclosed the field in 2 html blocks 

<table style="display:none;">



I place this script in the footer. It does show the right answer {(I tested using document.write(res)] and confirmation email is sent, but the unique field is not changed. 



var str = "[@field:combined_ID]"
var res = str.slice(0,16);
document.getElementById("InsertRecordcombined_ID").value = res;



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.

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...