php - Drupal - Core User Module -
i have added button in form , upon clicking performs different set of action. problem facing default form submitted , velidation messages enter email etc.
please advise.
you cannot hijack form that. when form submitted, enabled validate handlers called, , if no error found submit handlers called.
if want make multi-purpose form, different requirements, need either create form , handle validate, or use existing form, , replace existing validation own.
Comments
Post a Comment