Jump to content
  • 0

Hiding virtual cascading dropdowns in web form



Hi all --

This seems like it should be simple, but I'm struggling with it. I have a web form in which the user chooses items from certain dropdown menus that cascade to other dropdown menus, which I want to hide or disable. The selection they make puts one value in one field with the main dropdown and a connected value in another field from the cascaded dropdown. I want to hide or disable the virtual cascaded dropdowns because the user doesn't need to see that information. Here's the code I'm using but isn't working:


var fieldName = "cbParamVirtual2";

function hideThem () {
document.getElementsByName(fieldName).disabled = true;

onload = hideThem;


Any one have an idea?


-- Mike

Link to comment
Share on other sites

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