I suspect that you're not the only one who'd find this functionality useful. If you wish to add this functionality to Hobo itself as an option to form, a patch/pull request would be looked at favourably.

grepping the source code for 'resetForm' and 'reset_form' will give you an indication of where the functionality would need to be added.

Bryan

kevinpfromnm wrote:
From http://cookbook.hobocentral.net/api_taglibs/rapid_forms the hooks
you have available are:
before, success, failure, complete

for your issue, probably want to disable the form or at least the
submit button with the before hook and then re-enable it on the
complete hook (success and failure don't really apply).

<form ... before="$('form-id-here').disable()" complete="$('form-id-
here').enable()" id="form-id-here" ...>

On May 17, 11:48 am, atmorell <[email protected]> wrote:
Could you give an example? I have never worked with Ajax hooks
before..

On 17 Maj, 19:38, kevinpfromnm <[email protected]> wrote:



there's nothing specific but you could always tie in on the ajax/
javascript hooks to do that
On May 17, 5:15 am, atmorell <[email protected]> wrote:
Hello,
Does hobo provide any options to disable the submit button while the
Ajax request is being processed? Some of my users is hamering the
create button..
Best regards.
Asbjørn Morell.
--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group 
athttp://groups.google.com/group/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group 
athttp://groups.google.com/group/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group 
athttp://groups.google.com/group/hobousers?hl=en.


--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to