I'm really not sure which category this should be. Feel free to change it as necessary.

My problem is that I have a dependent text field after range of radio buttons. So an example, if you have "Other" as one of the choices and you want a text field open up when "other" is selected to enter more information.

Right now the default seems to be that the text field shows up. Then if you select a one of the non-dependent fields, it will close. It would be nice if the default would be closed and only open up if the dependent field is selected.

Thanks for a gread module btw. I'm using it in several forms.

tc

CommentFileSizeAuthor
#2 proposal_content_type.txt14.83 KBtoddchris
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tamar Badichi-Levy’s picture

Thank you for your post,

I think it is a bug. The default should be that the 'other' field will be closed unless the 'other' radio is selected.

I'm also using a lot of 'other' field the same way you do but without any problem. Can you please export your content type so I can test it myself?

Best wishes,
Ofir.

toddchris’s picture

FileSize
14.83 KB

Thanks for responding. I'll attach it in a file since it is quite lengthy.

Tamar Badichi-Levy’s picture

I'm sorry. I can't import your cck type. I get the errors:

The content fields table content_type_proposal has been created.
The content type Conference Session Proposal has been added.
An error has occured adding the field Session Description (field_session_description).
Please check the errors displayed for more details.
An error has occured adding the field Who is your Primary Audience? (check only one) (field_primary_audience).
Please check the errors displayed for more details.
An error has occured adding the field Does your session relate to any of the Conference Track Themes? Please choose one (field_conference_track_theme).
Please check the errors displayed for more details.
An error has occured adding the field Presentation Format (field_format).
Please check the errors displayed for more details.
An error has occured adding the field Other (field_otherformat).
Please check the errors displayed for more details.
An error has occured adding the field Take Home Message/Learning Objectives: (field_takehome).
Please check the errors displayed for more details.
An error has occured adding the field How Presentation Format Contributes to Learning Objectives (field_contribute).
Please check the errors displayed for more details.
An error has occured adding the field What is New or Significant about this Topic? (field_signif).
Please check the errors displayed for more details.
An error has occured adding the field Session Materials to be Provided (field_materials).
Please check the errors displayed for more details.
An error has occured adding the field Additional Information (field_additional_0).
Please check the errors displayed for more details.

Do you know what might be wrong?