Forums

Triple dropdown based on selected value

sandeepmishra49 17 May, 2012
Hello Sir,

I have three fields in my form for country, state and city and all the values coming from database but I want when user select any country then state list shows for only that country and similarly for city.

The problem is that how can I get selected value of country in PHP for further process for state,
I know I have to use ajax in JavaScript form and &task=extra box for passing the value in the form but what I don't know what exact code I have to use in JavaScript form and in Extra box .
currently I am using chronoform ver 3.1
It would be great if you explain with an example.
If you need more detail then let me know ...
thanks..

Sandeep Mishra
GreyHead 18 May, 2012
Hi Sandeep,

There's a tutorial here that you can buy for a few dollars that describes a double drop-down using Ajax for ChronoForms 3.2 I expect that you can extend it to a triple drop-down with a little more work.

Bob
This topic is locked and no more replies can be posted.