Forms

By adam
2014-09-24 10:03
5 comments

As with all sites that are growing you inevitably are hit with SPAM. In our case, we were getting around 50 SPAM comments a day, besides the obvious benefits of knowing how to acquire "Cheap Louis Vuitton handbags", all these comments were getting annoying to clean out on a daily basis.

By adam
2014-09-19 07:48
9 comments
Daily Dose of Drupal Episode #169

In this tutorial you will learn about the Honeypot module. The Honeypot modules is a SPAM prevention module that uses a hidden form field to catch SPAM bots from posting onto your site. This tutorial shows you how to configure the module to work on various forms on your site.

By adam
2014-05-02 08:27
4 comments
Daily Dose of Drupal Episode #146

In this Daily Dose of Drupal video we feature the Drupal 7 reCAPTCHA module.

In this episode you will learn:

  • How to register a domain with Google's reCAPTCHA service
  • How to set up the the reCAPTCHA module
  • How to set where you would like the reCAPTCHA form to appear on the site
By shane
2013-02-07 00:10
2 comments
Daily Dose of Drupal Episode #104

The Drupal 7 Conditional Fields module makes it easy to build dynamic and complex forms with Drupal 7 Fields. Any Drupal entity that has fields can pretty much be built into a dynamic and conditional form. The Conditional Fields module essentially lets you set conditions for how specific fields act based on another dependent field on the form. The simplest example is that this module can hide or show a field based on the value of another field. If you are still confused at what this module can do, watch the video to find out more!

By shane
2013-01-22 23:13
3 comments
Daily Dose of Drupal Episode #92

The Drupal 7 Form Builder module is a handy module for those new to building forms with the Drupal Form API. The module provides a nice, centralized interface for building out Drupal forms.

In this episode you will learn:

  • What is the Drupal 7 Form Builder module and why might it be useful
  • How can the Drupal 7 Form Builder module be used to export Drupal 7 Form API code.
By shane
2013-01-21 23:21
13 comments
Daily Dose of Drupal Episode #91

If you need to launch a Drupal form inside a JavaScript dialog or popup window, the Drupal 7 Modal Forms (with Ctools). The module seamlessly works with the User registration, User login, Password reset, contact form, and comment form.

In this episode you will learn:

  • How to configure the Modal Forms module to work with the various user forms
  • How to configure the Modal Forms module to work with the comment form
By shane
2013-01-10 22:29
2 comments
Daily Dose of Drupal Episode #85

The Drupal 7 iToggle module is a simple module that makes checkboxes look much nicer. This module can be used on the promoted, published, and sticky checkboxes of a content type and also has modules that allow it to be integrated with Drupal Fields and the Drupal views.

In this episode you will learn:

  • How to download and install the iToggle module
  • How to use the iToggle module on Node promoted, published, and sticky checkboxes
  • How to use the iToggle Drupal module with Drupal 7 Fields
Daily Dose of Drupal Episode #21

This episode works off the the previous episode to create a custom Drupal 7 form using the Drupal Form API, and then looks at how to submit data from the Drupal form into a Drupal database table.

In this episode you will learn:

  • How to use hook_menu, hook_permission, and drupal_get_form to create a custom Drupal form page
  • How to create a custom Drupal 7 form using the Drupal Form API
  • How to add a validation function to the Drupal 7 form
  • How to add a submit function the Drupal 7 form
By shane
2012-09-28 13:02
5 comments
Daily Dose of Drupal Episode #18

Learn how to create an administration form inside a Drupal module. In this episode we work with the Drupal 7 Form API to build out an administration section for a brand new module. This new module (called cronmonitor) will be completed in the next Daily Dose of Drupal episode (number 19).

In this episode you will learn:

  • How to build a Drupal administration form inside a Drupal 7 module
  • How to set the configure option inside your modules .info file
  • How to implement hook_menu and hook_permission to create an administration page
By shane
2011-08-16 21:43
0 comments

I have seen many different methods to remove the "Search this site" text that sits in the Search block in Drupal 6. Because there are so many different approaches I wanted to show the way that I use in almost every site I build that contains a search block. The simplest way to remove the text is using CSS, however if you want to prevent it from showing up in the HTML markup completely just add this to a custom module (replacing MYMODULE with your module name):

By shane
2011-08-03 14:01
0 comments

I recently ran across a problem where I needed to handle user input in a textfield in real-time. What I needed to do in my situation was to perform an AJAX call to my Drupal site as the user was typing into a textfield (to see if that value was available in the database). The main problem was that there were a few easy options for doing this in JQuery, but most of them were not good enough. Here are two of the options I tried.

Subscribe to Forms