CCK field display different than field question

NathanRAFT - March 8, 2008 - 19:48

Often on a CCK form it is necessary to ask a long question to get a proper answer from a user. Yet on display it is sometimes a pain to have to display the question when a statement is prefered.

Here is simple example;
Question: "Please describe how you had your hair cut before 1985 (include style name e.g. Mullet)"
Prefered Display on node view: "Haircut pre-1985"

Does anyone have any good ideas on how to develop a CCK module that would enable changing the displayed text for cck fields?

The simple answer is

zeta ζ - March 8, 2008 - 20:54

The simple answer is to define your field with;-

Label:
"Haircut pre-1985"
Help text:
"Please describe how you had your hair cut before 1985 (include style name e.g. Mullet)"

___________________
It’s in the detaιls…

Sure that works but is

NathanRAFT - March 9, 2008 - 04:18

Sure that works but is confusing to the user unless some theme hacking was added to put the helptext above the field as apposed to below and to optionally hide the label on node add or edit which is sloppy and a pain to do. What I am looking for is an approach to developing a module that would add a field display edit to the "display" settings within content type config pages.

Don't know if this will help (excuse the pun)

zeta ζ - March 9, 2008 - 05:17

Take a look at http://drupal.org/project/helptip
___________________
It’s in the detaιls…

Nope, but helptip is a cool

NathanRAFT - March 9, 2008 - 05:50

Nope, but helptip is a cool module indeed! None-the-less, I appreciate the effort.

No problem...

zeta ζ - March 9, 2008 - 06:35

I discovered this using my powers of serendipity while looking for tool-tips, and thought it might do the job.
___________________
It’s in the detaιls…

 
 

Drupal is a registered trademark of Dries Buytaert.