Hi all!
First and foremost, hi, I am new here but have been having trouble with an issue and was unable to find a solution that I was able to get to work.
Basically I have a form which records primary and secondary reasons for people writing off money, and in the secondary reasons I have an option for 'other', in case any of the other options aren't applicable. There is also a comments section on the form which is optional.
My issue is, I want the comments section to become mandatory if the 'other' option has been selected. I don't want it mandatory all the time, and I don't want it disabled if 'other' isn't selected, but I need to force people to write at least something in there if they have selected other.
Any ideas? I tried variations on code I found from other places but was unable to get this to function, and I am not sure if this can be done with validation or something like that.
Thanks in advance for any help!
First and foremost, hi, I am new here but have been having trouble with an issue and was unable to find a solution that I was able to get to work.
Basically I have a form which records primary and secondary reasons for people writing off money, and in the secondary reasons I have an option for 'other', in case any of the other options aren't applicable. There is also a comments section on the form which is optional.
My issue is, I want the comments section to become mandatory if the 'other' option has been selected. I don't want it mandatory all the time, and I don't want it disabled if 'other' isn't selected, but I need to force people to write at least something in there if they have selected other.
Any ideas? I tried variations on code I found from other places but was unable to get this to function, and I am not sure if this can be done with validation or something like that.
Thanks in advance for any help!