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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -