Displaying 1 result from an estimated 1 matches for "email_or_mobil".
Did you mean:
email_or_mobile
2009 Aug 04
6
form_for
...;,:discount_id=>product.discount.id,:id=>@ad.id}
do |f|%>
<%=f.radio_button :isemail,"true",:checked=>true%><b>Email
</b>
<%=f.radio_button :isemail, "false"%><b>Sms</b>
<%=f.text_field :email_or_mobile,:size=>20%>
<%=f.submit "Generate", :onclick=>"ValidateForm()"%>
<%end%>
on validation failure it doesn''t go to the :action
please help me...
--
Posted via http://www.ruby-forum.com/.