Working with Select List Check Box Radio Buttons in Drupal CCK

This is a simple tutorial on Working with Select List Check Box Radio Buttons in Drupal CCK. Here first we are going to create a select list, after that we will transfer that into radio buttons and check boxes, we are looking the differences between these three types of fields.

Working with Select List Check Box Radio Buttons in Drupal CCK

Working with Select list in Drupal.

  • Go to Drupal Admin, select any content type and then go to manage fields.
  • Add the field name, from the field type select List(text), and then select select list.
    Working with Select List Check Box Radio Buttons in Drupal CCK
  • Hit the save button.
  • On the next screen, Enter the values key|label, i have entered two values.
    select-list-drupal-1
  • The field will be displayed like below.
    select-list-drupal-2

Working with Check Box in Drupal.

  • Go to Drupal Admin, select any content type and then go to manage fields.
  • Add the field name, from the field type select List(text), and then select Check boxes/ radio buttons.
    select-list-drupal-3
  • Hit the save button.
  • On the next screen, Enter the values key|label, i have entered two values.
  • From the field settings, Select the number of values as the fields in my case it’s two fields.
    select-list-drupal-4
  • Save the Settings, then see on create content page.

Working with Radio buttons in Drupal.

  • Go to Drupal Admin, select any content type and then go to manage fields.
  • Add the field name, from the field type select List(text), and then select Check boxes/ radio buttons.
  • Hit the save button.
  • On the next screen, Enter the values key|label, i have entered two values.
  • From the field settings, Select the number of values as One.
    select-list-drupal-5
  • Save the Settings, then the check boxes will look like this.
    select-list-drupal-6
  • If you want to remove the N/A check box, make it as required field.
    select-list-drupal-7
    select-list-drupal-8

Check Your Website Rankings

Vivek Vengala
 

Vivek Vengala is a Online Entrepreneur, Web Developer from Hyderabad India.

Click Here to Leave a Comment Below 0 comments

Leave a Reply:

Subscribe to Our Newsletter to Get Latest Scripts & Tips For Free
x