Which form should I use? I am currently using form_for.Is it the right
form to use? What I am supposed to do in the form is to save the various
fields and go to the next page when i click the link which i am going to
name next. I am now using <%= link_to_function ‘Next’,
“$(‘form_id’).submit(0)” %> to create the link. I have tried to give the
form_for an id by doing this:
view source to make sure the tag has id=“prod” as you
intended. also you may want to call it product_form or something less
likely to conflict with something else.
view source to make sure the tag has id=“prod” as you
intended. also you may want to call it product_form or something less
likely to conflict with something else.
Hi,
I have checked to sure the tag has id=“prod”. But it doesn’t. I
am currently using form_for. And I’ve tried ways to set the id. But it
does work. Can anyone teach me how to set the id for form_for?