Form_remote_tag conditional submit

Hi,

Is there a way to allow conditional submission using the
form_remote_tag. I am trying to prevent form submission if the input
field in my form is empty.

Since, there is no support for onsubmit in form_remote_tag, I am
looking for an alternative way to do that.

Returning ‘false’ from the :before=somefunc() doesn’t help either.

Any clues…

TIA
~Shishir

ok got it, :condition is available for form_remote_tag also…

thanks,
shishir

On Oct 4, 5:32 pm, Shishir Srivastava [email protected]