Jump to content
  • 0

Check boxes


flashcz

Question

Hi Im looking for a way to hide a check box on the details page, I have a search page when a user selects various options on the search page from 10 check boxes. Lets say he selects 3 options he would like to see which values are yes, but the other 7 are displayed on the details page, I would like to see only the check boxes that are marked as yes.

Thanks Derek

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi Derek,

As I understand, you'd like to automatically hide and show checkboxes on a details page based on the status. It is achievable by Javascript.

Here is some sample code to hide one checkbox.

function hideit()

{

if(document.getElementById('EditRecordFIELDNAME').checked==false)

{

document.getElementById('EditRecordFIELDNAME').style.visibility='hidden';

}

}

window.onload = hideit;

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

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