I'm trying to set a field based on the value of another. "field_cert_status" is a lookup list. If its (stored) value is not "NC" then I want to prefill "cert_date" with todays date (actually "date('Y/m/d')"). I'm getting nowhere; the field doesn't show even tough it's marked required. So I just hard-coded a value for the "Computed code" as $node_field[0]['value'] = '2007-08-14';. I then set "Display Format" to $display = '1999-12-31';. Nothing shows! The field is not even present on the CCK form. What do I have to do to use this module?

BTW, the actual need, once I get anything out, is to have the field present (and required) or not present based on "field_cert_status."

Comments

nancydru’s picture

bump

mooffie’s picture

Status: Active » Closed (duplicate)

The field is not even present on the CCK form.

Computed fields aren't shown on forms. Their content is computed, not typed in. I don't think this module can help you. I replied here.