I have a form using a hidden_field_tag. The value I put as a parameter in the hidden_field_tag is an integer but when it comes out on the other side it’s a string. Does hidden field tag auto convert this? Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Short answer = yes
The real answer is it creates an input tag on the html side, the value you passed in as an integer gets set as value=”your value here”.. So anything in an input field will be a string.