search for: saveandsend

Displaying 1 result from an estimated 1 matches for "saveandsend".

2006 Apr 29
11
Multiple actions from one form - possible?
...y to achieve - I would like to give the user the choice to submit a form either to action1 or action2 but I cannot figure out how?! It would be great if someone could give some assistance. Thanks a lot, Alex <%= start_form_tag :action1 => ''save'', :action2 => ''saveandsend'', :id => @letter %> <%= submit_tag ''Save'', action1 %> <%= submit_tag ''Send'', action2 ''%> <%= render :partial => ''form'' %> <%= end_form_tag %> -- Posted via http://www.ruby-forum.com/.