I have a custom form builder that has a question type of "rank order."
That is where you rank the choices in order from 1-5, or whatever.  So I
have the answer choices set up as a sortable list that has a text field
with the order position.  Using AJAX, I can change the order of these
answers AND update the text fields with the proper numerical rank.

The problem is that when the form is POST submitted, it does not use the
AJAX-updated values in the text fields but the original values from the
page load DESPITE the text fields being different.  If I manually change
the field by typing, it POSTs correctly.  How can I force the form to
grab the "fresh" values from the text fields on submittal?

Thanks in advance!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to