I have been asked to update a form that contains a table with three (3) columns.
Column 1 – Value is Fixed (no additional rows can be added)
Column 2 – Required, Yes/No selection (default = Yes)
Column 3 – hidden, appears when change to Column 2 = No
- Condition 1: Field must contain text when change = No
- Condition 2: Form cannot be completed/submitted without entering text in Comment field
- Condition 3: Error message prompts user to resolve condition 2
Columns 1 and 2 requirements are working. Column 3’s conditions are where I lack ability/knowledge to build out. After some research it appears I could use JavaScript to make the comment field required and add an error message that clears once text is entered. My problem is I have very limited JavaScript skills.
Any suggestions or guidance would be appreciated.