I would like to know if i can populate a dropdown value using another
drop down value.

Suppose there are 2 dropdowns, one for Author & another for Books. I
want to select author & its related books should come to Books
dropdown.

I am currently doing this using ajax,

On changing the author dropdown, i am firing an event to get list of
related books to populate the Books Dropdown. All is fine till here.
but, Suppose, If I submit the form & it fails due to some validation
errors, Values of Books doesn't preserve.

I can do this by checking the current value of Author to get the list
of Books again on page load but, how can I get the selected book?
That's the question.

Please help.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to