search for: your_action_here

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

2006 Jul 27
1
form_tag vs form_remote_tag ----- the :condition option
...way that the form is only submitted if :condition evaluates in javascript to true. so the logical thing to do is give it a JavaScript function <%= form_remote_tag ( :condition => ''your_function_here()'', :url => {:action => ''your_action_here''} ) %> as you can see, it is nifty. but here''s the thing. form_tag **doesn''t** support this same useful feature as far as I can tell. am I wrong? is there a simple way to implement this feature? my JavaScript''s a bit rusty but I think you can probably jus...