CCK validation

GBain22 - July 21, 2009 - 09:08

Hi,

I need to perform some "real-time" validation on my CCK fields when a user creates a content type, and I need some advice.

I have a Type: Date field for filling out a date, and this needs to be required if the user selects a certain option from a drop-down list that preceeds this. Basically it works like this:

User selects "No date required" -> so the date field becomes "un-required"

User selects "Date required" -> date field becomes required

Is this possible to implements into my CCK node type?

Cheers, Garry.

http://drupal.org/project/dep

budda - July 22, 2009 - 15:42

http://drupal.org/project/dependent might be useful, although that's only for 5.x
You could work on an upgrade, or sponsor somebody -- if it solves your requirement?

 
 

Drupal is a registered trademark of Dries Buytaert.