I am hoping someone can help me with a javascript and figure out how to hide/show fields based on user selection from a drop down field.
I tried the rules section for this and it is not serving what I need. I also searched the forum to see if there is something I could use. But can't find any that I could understand.
I have an UpdateForm.
My field name for the drop down is 'Credentials'
My other two fields are 'Frequency 1' and 'Frequency2'
There are 2 choices in the drop down field: Certificate and Licensure
If the user chooses 'Certificate' I would like the 'Frequency 2' to be hidden and 'Frequency 1' to be a required field.
If the user chooses 'Licensure' the 'Frequency 1' should be hidden and 'Frequency 2' should be a required field.
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
EmmePGN
Hello all,
I am hoping someone can help me with a javascript and figure out how to hide/show fields based on user selection from a drop down field.
I tried the rules section for this and it is not serving what I need. I also searched the forum to see if there is something I could use. But can't find any that I could understand.
I have an UpdateForm.
My field name for the drop down is 'Credentials'
My other two fields are 'Frequency 1' and 'Frequency2'
There are 2 choices in the drop down field: Certificate and Licensure
If the user chooses 'Certificate' I would like the 'Frequency 2' to be hidden and 'Frequency 1' to be a required field.
If the user chooses 'Licensure' the 'Frequency 1' should be hidden and 'Frequency 2' should be a required field.
Please help.
Thank you so much in advance.
Link to comment
Share on other sites
9 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.