Hi, I have a datapage submission form on which I want to hide a dropdown box IF the response on another dropdpwn box is "No". Here's the code snippet I picked up earlier but it doesn't work for me.
<script type= "text/javascript">
var v = document.getElementById("InputRecordDropdownBox_1").value;
if v =="No"
{
document.getElementById("InputRecordDropdownBox_2").style.display = "none";
}
</script>
I also want this to be replicated on a report datapage and understand the keyword "InputRecord" needs to be changed to "EditRecord"?
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.
Question
RonAnderson
Hi, I have a datapage submission form on which I want to hide a dropdown box IF the response on another dropdpwn box is "No". Here's the code snippet I picked up earlier but it doesn't work for me.
<script type= "text/javascript">
var v = document.getElementById("InputRecordDropdownBox_1").value;
if v =="No"
{
document.getElementById("InputRecordDropdownBox_2").style.display = "none";
}
</script>
I also want this to be replicated on a report datapage and understand the keyword "InputRecord" needs to be changed to "EditRecord"?
As always, your help is greatly appreciated.
Ron
Link to comment
Share on other sites
6 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.