filmov
tv
Drupal 7 Module Development Tutorial #8: Drupal Form Submit and Validate Functions
Показать описание
In this 8th Drupal video tutorial, I show you how to create submit and validate functions to handle users submitting forms. Specifically, we use the default submit function created by Drupal to prep our information and pass it off to a function which updates the database. We then log a watchdog message so administrators know applications were reviewed.
Lastly, we create a validate function to double check the information received from the form submission to ensure we don't get incorrect values. In doing so, I show you how to set errors on specific form elements. It's important to remember that validate functions are called before submit functions.
Drupal 7 Module Development Tutorial #1 - Setting Up Our Project and Writing our .Info File
Drupal 7 Module Development Tutorial: Understanding the block_contents custom Function | packt
Drupal 7 Module Development Tutorial: Understanding the hook_block_view Function | packtpub.com
Drupal 7 Module Programming Tutorial Part 1
Developing Modules in Drupal 7
Drupal 7 Module Development Tutorial: Theming the block -- Part 1 | packtpub.com
Drupal 7 Module Development Tutorial: Understanding the hook_block_info Function | packtpub.com
Drupal 7 Module Development Tutorial #10 - Drupal's Hook_Form_Alter and Variable_Set
Drupal 7 Module Development Tutorial #2 - Creating a Default Flag with the Flag API
Drupal 7 Module Development Tutorial: Theming the block -- Part 2 | packtpub.com
Drupal 7 Module Development Tutorial #7 - Theming Tables with Drupal's Form API
Drupal 7 Module Development Tutorial #3 - Creating Tables with Hook_Schema
Drupal 7 Module Development Tutorial #9: Creating Permissions with Hook_Permission
Drupal 7 to 8 custom module conversion
Drupal 7 Module Development Tutorial #5 - Creating Paths with Hook_menu
Drupal 7 Module Development Tutorial #11 - Using Template_Preprocess to Change the Flag Link
drupal crash course - part 2 - module development intro
Drupal 7 Module Development Basics - Daily Dose of Drupal 16
Drupal 7 Module Development Tutorial #4 - Inserting Data Into and Deleting Data From Our Database
How to create a custom module in Drupal 7 and using hook_menu
Drupal 7 Module Development Tutorial #6 - Querying the Database with DB_SELECT
Drupal 7 Module Development Tutorial #8: Drupal Form Submit and Validate Functions
Learn Drupal 8 module development with examples
drupal7 contact form development tutorial
Комментарии