this code is used to generate 6 empty boxes on thesame row <% while counter < 6 do%> <%name ="txtwinentry1"+counter.to_s %> <%=password_field "txtwinentry1" ,nil,:size => 2,:class => 'xstyle',:id => name %> <%counter = counter + 1%> <%end%>
this code is used to pass the value of txtwinentry1 (with 6 values) to controller
<%= button_to_remote( "Validate", :update => "winningentry", :url => { :action => "checkrow1" }, :with => "'xid1='+$F('winid1')+'&xrange1='+$F('winrange1')+'&xcount1='+ $F('wincount1') +'&xdesc1='+$F('windesc1')+'&xuser1='+$F('txtuser1')+ '&xwinentry1='+ $F('txtwinentry1')")%>
....given the codes above, no values passed from &xwinentry1='+ $F('txtwinentry1') to the controller.
Any information or suggestion to help me solve the problem will be very much appreciated.
Thank you very much.