Jump to content

Autofill of 2nd criteria field


Recommended Posts

JS code snippet below will copy value from one criteria field to another:

 

Quote

1.       Set-up criteria fields;

2.       Put following javascript code snippet in the Footer:

function onblurcalculate() {

var count =document.getElementById("Value9_1").value;

document.getElementById("Value9_2").value = count;

}

document.getElementById("Value9_1").onblur= onblurcalculate;

3.       Replace highlighted name as per below:  

ValueX_Y:
          -   X is the form element order, which starts at 1 and increments based on the order of the element in the form.
          -   Y is the criteria. It starts at 1 and increments based on the criteria order. It is always 1 if the field has no extra criteria.

 

 

 

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.

Guest
Reply to this topic...

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

Loading...
×
×
  • Create New...