AnsweredAssumed Answered

Validation on choice control

Question asked by sbstirling on Jul 18, 2014
Latest reply on Jul 23, 2014 by sbstirling

I have a choice control that I am trying to add validation too to ensure at least one option is selected. I can not seem to get the validation to work on this control but am able on the same form to have it work on other controls.

 

On the control under validation I have the following

Data type: string

Use Custom Validation: yes

Custom validation function: ValidateJustifications

 

In the custom javascript to test i have the following as a test script.

function ValidateJustifications(source, arguments) { alert("Testing");}

 

Any idea as to why this isnt working?

 

The eventual goal is to ensure that the user has selected at least on option from the list, then if they select the final option (other) they would need to provide information in a text box below. What would be the best way to do this?

 

Thanks very much!

Outcomes