Frage

After the form is submitted if the user failed to enter the required fields I want to add additional javascript goodies, but can't figure out where to add my own custom callback after the form has been validated/posted.

Is this possible without hacking the module?

Thanks, Greg

War es hilfreich?

Lösung

This plugin seems to use JavaScript validation, so you could add your own custom JavaScript validation by hooking into the submit event (for example). Since this is JavaScript, you won't be hacking the module.

I suggest using Firebug, or some other DOM inspector, to determine the best place to bind your events.

Also, check out the plugin docs. There is also a forum which may provide more specific help.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top