How to Build Beautiful Forms in Drupal 7





The interactive transcript could not be loaded.



Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jun 16, 2011

The source code for this talk (with some adjustments) is http://is.gd/beautifulforms .

This is a 45-minute talk given at DrupalCamp Colorado, 2011. It covers how to work with some of the most interesting aspects of the Form API, including dynamically showing and hiding elements, and modifying existing forms. As an example, we convert the default search form to a Google suggestions-style format which auto-completes based on search history. Kind of fun!

  • Category

  • License

    • Standard YouTube License

Comments • 31

A fine presentation. I think it is important to note that this is not php taking the place of jquery/javascript, as was implied at the end of the search/auto-complete presentation. It is client-side, javascript actions making all this work. The difference is, using Drupal hooks and functions from the Forms API does all the complex javascript (ie jQuery, AJAX) coding for you and php spits it all out on page load. Also, the Drupal naming conventions between IDs and functions goes a long way to simplifying the JS that needs to be written.
ghaith aldebeyat
first time i see something about code and have good time , so thanks
y bake
fucking spaces instead of tabs ......
Sarvesh kumar
Claudiu Chirilov
another way to find the function behind any form is to search for the "hidden" input named "form_id" which gives you what you need. other than that, nice video.
Mamourou Traore
hello i need your help i want to introduce a bootstrap fonctions on my drupal website...a fonction as admin navbarre with a beautiful icones but i don't how do this help me please
Jeremy Trudell
Chris is a great drupal teacher, maybe the best.
Mason Firman
I'm supposed to be doing English homework right now. I've found myself rather intrigued in this. Good job! English < Drupal
Augusto Caicedo
There is no code you share, and I cannot get to work what I see in the screen
Mohammed Hannioui
When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...