search for: customer_terms

Displaying 1 result from an estimated 1 matches for "customer_terms".

2006 Oct 04
0
Displaying validates_acceptance_of Errors In A Check Box
...<%= submit_tag %> <% end %> When the user submits the form without ticking the box, the view renders again with erroneous fields highlighted as in a scaffolded view. The HTML generated for the check box is: <p><div class="fieldWithErrors"><input id="customer_terms" name="customer[terms]" type="checkbox" value="1" /></div><div class="fieldWithErrors"><input name="customer[terms]" type="hidden" value="0" /></div> I have read and agree to the Software Lic...