Joined July 2012
·

Tobias Deardorff

Software Engineer at Ciplex
·
Scottsdale, AZ
·
·
·

Posted to Drupal 7 Hijack Form Errors over 1 year ago

Hi soajetunmobi,

I'm using this code in the form_validate function for a custom form I built. If you build a form using the Form API you have the option of specifying a validate function and that is where I'm placing this code. If the form doesn't validate then it won't submit and you'll have the opportunity to display the error messages.

Hope that helps! Let me know if I can help any further.

Tobias

Posted to D7 Multiple File Upload over 1 year ago

@takagi and @crypticlx - My pleasure. Glad I could help!

Achievements
124 Karma
19,737 Total ProTip Views
Interests & Skills