I am designing a user registration form using the core profiles module in Drupal 6. I have been trying to search for a way to make certain fields appear in the user registration page based on the value selected in another field. For example, I have a select list called college name and if 'others' value is selected in the college name i want another field to appear which lets you specify the college name and moreover adds it to the list of colleges. I am just wondering if there's any built in module for this (conditional fields module doesnt extend the select list) or I will have to tinker with the code. Thanks alot!!!
I'm not experienced enough w/ drupal yet, to know if a drupal module exists, but you CAN do all of this with css/jscript. You might consider doing it in jquery lingo. There are many good web resources for this, like http://css-tricks.com -- which I know has a tutorial and screen cast on building conditional cascading forms etc.
Good luck.,
Seb.
Nitin Gangahar wrote:
I am designing a user registration form using the core profiles module in Drupal 6. I have been trying to search for a way to make certain fields appear in the user registration page based on the value selected in another field. For example, I have a select list called college name and if 'others' value is selected in the college name i want another field to appear which lets you specify the college name and moreover adds it to the list of colleges. I am just wondering if there's any built in module for this (conditional fields module doesnt extend the select list) or I will have to tinker with the code. Thanks alot!!!
It seems that you want the functionality that exsits in Taxonomy Other http://drupal.org/project/taxonomy_other
But I do not know if you can use taxonomy with profiles.
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of sebastian Sent: 12 November 2009 08:43 To: support@drupal.org Subject: Re: [support] Profile Module Conditional Fields
I'm not experienced enough w/ drupal yet, to know if a drupal module exists, but you CAN do all of this with css/jscript. You might consider doing it in jquery lingo. There are many good web resources for this, like http://css-tricks.com -- which I know has a tutorial and screen cast on building conditional cascading forms etc.
Good luck.,
Seb.
Nitin Gangahar wrote:
I am designing a user registration form using the core profiles module
in Drupal 6. I have been trying to search for a way to make certain fields appear in the user registration page based on the value selected in another field. For example, I have a select list called college name and if 'others' value is selected in the college name i want another field to appear which lets you specify the college name and moreover adds it to the list of colleges. I am just wondering if there's any built in module for this (conditional fields module doesnt
extend the select list) or I will have to tinker with the code. Thanks alot!!!
-- [ Drupal support list | http://lists.drupal.org/ ] ****************************************************************************************************************************************************************
The content of this email (and any attachment) is confidential. It may also be legally privileged or otherwise protected from disclosure.
This email should not be used by anyone who is not an original intended recipient, nor may it be copied or disclosed to anyone who is not an original intended recipient.
If you have received this email by mistake please notify us by emailing the sender, and then delete the email and any copies from your system.
Liability cannot be accepted for statements made which are clearly the senders own and not made on behalf of Network Rail.
Network Rail Infrastructure Limited registered in England and Wales No. 2904587, registered office Kings Place, 90 York Way London N1 9AG
****************************************************************************************************************************************************************