Hello, Firstly I wanted to modify my lifecycle form to validate if only one of two checkboxes (two boolean fields) was checked. I thought of some kind of validates_presence_of :on => :transaction on RoR group, but they recommended radioboxes or JS. As I found that Hobo doesn't really supports radioboxes I decided that JS would be nice (I feel stronger in js than rails). The thing is I don't know how to input proper javascript inside my form (in application.dryml inside form tag?). How to call elements in script? BTW. Can I have to submit buttons calling diffrent transactions in one form and show/hiding them with javascript when I decide to?
Thank you in advance! Best regards Piotr -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
