script to group fields when a box is checked
- November 17, 2020
- 2 replies
- 2651 views
After doing some research yesterday, I did notice that javascript should help me with this question but I have never written a script and I struggle with the concept when reading some directions as I have a form that I am making fillable and when you read their examples the questions do not show until the individual selects a box and checks it. On a form, most of the information is in front of them already so they will see it either way. I work for a Michigan intermediate school district (ISD) and currently I am making HR forms fillable. I have a question in section 1 of the attached file that has 2 checkboxes the person must select 1 or the other. Question A. is only a checkbox, but if the person selects B., then follow-up questions must be completed. How do I add a condition to lock B. checkbox and questions, if A.? If B. is checked, how do I group the questions so the person completing the form completes the required fields for B.?
