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,










