Webscaped.com

Posts Tagged ‘Validation’

Custom field validation in Drupal

Drupal, Web design - Thursday March 12th, 2009

drupal-cop

Validating your form submissions in Drupal can be easy. If you’re using CCK, somebody has probably coded a nice module to deal with email, phone or ISBN fields.

But what if your need is fairly specific to the website at hand?

You’ll need to create a module…don’t run and hide, its not that bad.

The validation module we’ll create consists of two files – and no more then 100 lines of code.

Read the rest of this entry »

Copyright © Michael Adams     powered by WordPress

    RSS Feed HTML 4.01 Valid CSS Valid