Server Side Validation with Dynamic Dropdowns
I have come across a strange one...
I have an add and edit form that contains a text field and select lists used as dynamic drop downs. There are just the two drop downs, one for category and one for page.
The dynamic drop downs work great.
I have since added Server Side Validation to the form post page and this works great for the text field but the values of the drop downs are behaving in a strange way.
If I leave the text field blank (required) and set the values of both the dynamic drop downs then the values of the dynamic drop downs are repopulated correctly with the validation values.
However, if I only select the parent drop down value and leave the child blank then the values of the drop downs result in nothing and they are both set at the null value index of "Please Select..."
I hope I have explained myself OK? Just wondering if there is anything else I could try to get it to retain the parent drop down value after validation even if the child is not set (i.e. left at an item with a blank value).