Well I've spent the better part of 3 days struggling with trying to get a AJAX form that loads select tags with DB data to degrade properly. First, I found a bug when using if_javascript in conjunction with select tags for which I opened a ticket http://www.symfony-project.com/trac/ticket/1056
After fixing that I have found that when using form validation upon sumbitting the form the autofillin doesn't work propely. THe values for the select tag is lost whenever an error is found. I suspect this has to do with the way the autofill is setting the selected value after an error is found and the fact that when using if_javascript the select tag is written using document.write. I've tried everything I can think of to correct this but haven't had any luck. I've also tried to find alternatives to detecting javascript being on so that if it is disabled I can use a <noscript> with just a plan input box while hidding or not echoing the dynamic select boxes, but again no solution has been satisfactory. Anyone have any ideas? I'm truely stuck on this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs -~----------~----~----~----~------~----~------~--~---
