Displaying 1 result from an estimated 1 matches for "tag12345678".
Did you mean:
a12345678
2006 Mar 29
1
Help: Input of form 1 to hidden field in form 2?
...@newtag = (@params[:tag])
@tag = Tag.new
render :action => ''step2''
end
FORM 2:
...
<input id="tag" name="tag" type="hidden" value="<%= @newtag %>" /></p>
RESULT:
If I submit 12345678 in form 1
I get "tag12345678" in form 2
FORM 2:
Source after Form 1 submit
<input id="tag" name="tag" type="hidden" value="tag12345678" /></p>
I only want the digits 12345678.
--
Posted via http://www.ruby-forum.com/.