Thank you for your answer, I appreciate it.
I have implemented the source code (http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown).
Everything works and I'm really happy to use the support forum. May be I will try the job board for more complex project. Thanks for the information.
I have one little problem and I think you or support forum could help me : Field Validation.
May be you would take a look at that test page (http://www.cyberworkers.com/test-gravity-form).
I put the source code and the script himself on that test page.
Problem description :
When you select a category (let's say "Programming Language"), dynamically the subcategory dropdown is populated and you got a subcategory dropdown with "PHP, DOT NET, ....".
Ok for that, it's implemented as you can see on the test page.
In the subcategory dropdown user must select an option.
The value for option "Choix" is equal to zero.
So I add a control like "if($value=="0" $result["is_valid"] = false;)".
But when GF return the error message, the subcategory dropdown is reseted (and not populated).
May be there is a code already explain on the forum or a simple solution ?
Thanks a lot in advance for your help.
Posted 7 years ago on Wednesday January 16, 2013 | Permalink