AnsweredAssumed Answered

Javascript validation of fill-in choice control

Question asked by xlr8shenfx on Mar 30, 2018
Latest reply on Apr 2, 2018 by N M

Hello All,


I have a form which has a number of dropdown choice controls which allow for "fill-in" text entry as well.  Some of these controls need to have conditional validations rules set (i.e. if choice above = "xxx" then this is required") and i am trying to figure out the correct javascript syntax to do so.  


I can easily use javascript to conditionally validate the control to check if no dropdown selection has been made, but how can I access the "fill-in" entry box to check if that is Null when the corresponding radio box is selected...


See pic below for example...


Hope someone can point me in the right direction