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.