Hi, I have new and edit forms where a portion of the form is updated via ajax based on selections by the user. Specifically, the user must select a State/Province for the District <select-many> to populate, and then select one or more districts for a School <select-many> to show up. I have it working on the EDIT form only because the <select-many> inputs rely on saving the current user and populating the dropdowns based on the "parent" selection (ie. province -> district). So, in the case of a New user, I can't save the user without having all other required fields filled out.
Really, I don't want to be saving anything at all, and if the request is an ajax request I'd like to store the selections for Province/District in the controller in some instance variable and use that to inform the <select-many>, which would then only save to the User instance in the database when the form is submitted. Is there any way this can be done? Let me know if what I want to do is not clear or if you want to see my code so far. Also, I'm on Rails 3.0.12 and Hobo 1.3.0 if it matters. Thanks! -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/PeH8nKjfjAsJ. 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/hobousers?hl=en.
