CCK, input form, how to not have title?

jwuk - July 4, 2009 - 20:55

It's very possible I'm tackling this task in completely the wrong way, in which case feel free to send me in a new direction rather than solving this detail.

I'm attempting to collect information from a group of people who will be attending a small event. The method I'm trying is to create a new CCK type, to authorise the relevant users to create this content, and on a mailing list I've given them a URL.

I've almost succeeded, but one of the somewhat naff aspects is that the create content form includes a title field. But this is meaningless in this context. I'm asking things like name, address, preferred food, car parking spaces and so on.

Any ideas please?

A couple thoughts 1) You can

nevets - July 4, 2009 - 21:07

A couple thoughts

1) You can re-label the title field, so for example you might use the title for "name"

2) Use Automatic Nodetitles

Thanks, but...

jwuk - July 4, 2009 - 21:41

Thanks for such a fast response.

I'm not keen on reusing the title field. Elsewhere on the site I have some admin functions that list nodes and use the title, I'd prefer for this node type to have the title empty or some fixed content.

Automatic Nodetitles. Thanks, never seen that module before. Seems odd that it's needed. I can see why it's good to have Page and Story have a title and a body, but if a node is the one true concept from which all content types inherit... [sigh] I think you see where I'm going with this. :(

But, more important, am I approaching this task in the right way? Suppose you were having a family anniversary party or a meeting of the Hells Angels -- how would you create a form to let the participants indicate their choice of food/drink/sex/tattoo?

Webform?

Poieo - July 5, 2009 - 00:01

What about the Webform module?

Never heard of it, many

jwuk - July 7, 2009 - 14:19

Never heard of it, many thanks. I'm having a little trouble figuring out some bits of it, but I'm going to download the screencast.

[update] Screencast is good. Wish I'd known of Webform earlier -- it looks like a better solution than what I've done with CCK, in particular because I could have set up the form without needing users to be logged in (could use protection with Captcha).

 
 

Drupal is a registered trademark of Dries Buytaert.