How can I hide & unhide a field on a web form without refreshing the page? I know I will need to use JavaScript, if someone could point me in the right direction, it would be most appreciated.
Thank you.
How can I hide & unhide a field on a web form without refreshing the page? I know I will need to use JavaScript, if someone could point me in the right direction, it would be most appreciated.
Thank you.
Subject: Hide/Unhide web form field w/o refresh?
This should get you going.
Put your stuff in here on the form.
Make sure the div tags are passthru html
Then you can put something like this on a JavaScript event. Like onLoad, onChange or even both.
el = document.getElementById(‘viewers’).style
if (something == ‘something’) {
el.visibility = ‘hidden’
}else {
el.visibility = ‘visible’
}