2

I have added a radio button to my content type and I have found that N/A was automatically put in as a selection. How do I get rid of this?

3
  • 3
    I guess make it a required field.
    – Ali Nouman
    Apr 4 '14 at 19:22
  • ... that seams to work. wow. That seems too easy, yet obscure. Did I miss a note or something?
    – Hoytman
    Apr 4 '14 at 19:27
  • Good to hear! that you got it workout.
    – Ali Nouman
    Apr 4 '14 at 19:32
3

If you make a list field mandatory, the N/A option automatically goes away

Also, if you allow multiple values, the radio dot elements automatically becomes checkboxes.

0

I strive to reduce complexity in the systems I build. Following is a CSS only solution. Replace the example field machine names with yours.

#edit-field-history-of-prematurity-und > div:nth-child(1),
#edit-field-diagnosed-und > option:nth-child(1),
#edit-field-history-of-hypoxia-und > div:nth-child(1),
#edit-field-ekg-und > div:nth-child(1) {
    display: none;
}

Not the answer you're looking for? Browse other questions tagged or ask your own question.