How to: Choosing "YES" or "NO" pops up a message ?

XenoMorph

New Member
Hello all

I was wondering if someone could help in the followoing:

I have a form in wich there is a question answered with a drop down box (options YES and NO), is it possible to create some kind of validation rule or something to react to the "YES" answer? Could be a message pop up with some text (kinda of an error message) ?

Many thanks in advance
 
Sure. Look in the Frequently Answered Questions forum, threads about "conditional dropdowns", which describes how to "do stuff" in response to a menu selection change.

If all you want to do is pop up a message of some sort, you can just add a JavaScript action to the element, and do something like this:

var selected = this.getValue();
alert("You selected " + selected);

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top