Welocme to PHP CMS Courses and JOB

We are here to help you Learn Basic and Adavanced PHP Concepts, as well as PHP CMS Concepts and working envoirment on CMS. Once you found the way to go with PHP and PHP CMS, you can find the JOB route on this PHP CMS Courses and JOB Blog.

Welocme to PHP CMS Courses and JOB

We are here to help you Learn Basic and Adavanced PHP Concepts, as well as PHP CMS Concepts and working envoirment on CMS. Once you found the way to go with PHP and PHP CMS, you can find the JOB route on this PHP CMS Courses and JOB Blog.

Php Cms Drupal

Welocme to PHP CMS Courses and JOB

We are here to help you Learn Basic and Adavanced PHP Concepts, as well as PHP CMS Concepts and working envoirment on CMS. Once you found the way to go with PHP and PHP CMS, you can find the JOB route on this PHP CMS Courses and JOB Blog.

Php Cms Joomla

Welocme to PHP CMS Courses and JOB

We are here to help you Learn Basic and Adavanced PHP Concepts, as well as PHP CMS Concepts and working envoirment on CMS. Once you found the way to go with PHP and PHP CMS, you can find the JOB route on this PHP CMS Courses and JOB Blog.

Php Cms Wordpress

Welocme to PHP CMS Courses and JOB

We are here to help you Learn Basic and Adavanced PHP Concepts, as well as PHP CMS Concepts and working envoirment on CMS. Once you found the way to go with PHP and PHP CMS, you can find the JOB route on this PHP CMS Courses and JOB Blog.

Pages

Showing posts with label Drupal Simple Form. Show all posts
Showing posts with label Drupal Simple Form. Show all posts

Monday, September 17, 2012

Create a Simple Form in Druapl 7.x - Step by Step Guide



In the Last posts, we have discussed more about create a Hello World Module and Create a content in Drupal 7.x. now we are going to learn and Create a Simple Form in Drupal 7.x step by step.

 Before start works, you must know How does it work? Drupal has several built in Form functions, that deal with building and rendering your forms, and all you have to do is provide an array of information to the build functions. In this case, we build the form array, then return it.

When we call drupal_get_form, we pass the name of the function that returns the form, and Drupal does the rest.

Here the form array is 
$form = array();

Lets begin your simple form,