Jump to content

Passing inbound virtual cascading dropdown parameters


Recommended Posts

Hi, My current code is: 

<SCRIPT LANGUAGE="JavaScript">
function update()
{ 
var p2 = document.getElementById("cpParamVirtual10").value;
document.getElementByName("cpParamVirtual4")[0].value=p2;

} 

document.getElementByID('caspioform').onload=update;
<SCRIPT>

and I have it deployed in the footer of a submission form however it is not working.  Virtual10 is a hidden field that loads with a passed parameter . Virtual4 is a cascading dropdown ( and on  exit passed the parameter that virtual10 loads). I want to set the cascading dropdown to the value it was when the form was submitted the last time instead of resetting itself every time. 

 

Thanks for the help. 

Link to post
Share on other sites
  • 2 weeks later...

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