Wes G. wrote:
Do I need to use submit_to_remote in conjunction with or instead of
form_remote_tag? The description in the API docs. is confusing.
Is the combination of form_tag/submit_to_remote valid?
Is the combination of from_remote_tag/submit_tag valid?
The regular submit tag works fine with form_remote_tag. I think the
submit_to_remote tag is there so that you can do ajax for one button in
a regular form. You could use it for some help with the form, like
explaining the minimum acceptable password conditions in a signup form,
or explaining the three digit code thing on the back of a credit card,
by sliding in some help text or something - while making the main form
submit a non-ajax regular old form.
I’m a newbie, so this is just a guess. I’ve definitely had good results
with submit_tag together with form_remote_tag. Haven’t had a reason to
use the submit_to_remote yet.