SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Conditionally display fields in Add Content form

5 years 11 months ago #117927 by prakash.motjuste
Conditionally display fields in Add Content form was created by prakash.motjuste
Hi,

I want to set up my website so that when a content node is being added, there will be a boolean checkbox field to select whether or not that node will appear in a homepage slider display.

If the checkbox is checked, I would like to display an additional field where a larger image can be uploaded which will be displayed in the slider.

If the checkbox is not checked then I do not want to allow this additional image upload field to be accessed.

Can this be done in Drupal 7? How do I go about it?

Many thanks,

Prakash

Please Log in to join the conversation.

5 years 11 months ago - 5 years 11 months ago #117956 by Valentin
Hi Prakash,

Please take a look to rules module. See if it's something may works for you.

UPDATE: www.ostraining.com/courses/class/drupal/rules?task=view

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!