Displaying 1 result from an estimated 1 matches for "quantity_".
Did you mean:
quantity
2008 Feb 20
1
text_field_tag - different parameter name
...Buy" %>
</p>
<% end %>
</div>
<% end %>
In controller I need get value of text_field_tag (@value =
params[:quantity] )
Problem is with validation : ID "quantity" already defined
I need something like this <%= text_field_tag "quantity_"+product.id,
"1", :size => 1 %> .
This I get different name of text_field, but I don''t know, How can I
get params to controller
Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups...