in field.tpl file
change:
to:Code:Only registered members can view the code.
you can add more field types to the condition if necessaryCode:Only registered members can view the code.
in field.tpl file
change:
to:Code:Only registered members can view the code.
you can add more field types to the condition if necessaryCode:Only registered members can view the code.
Rudi,
What you have suggested is not what I need. For example: In your code above, I have tried it. If I put {if $field.Type == 'text' || $field.Type == 'textarea'} I was hoping that the page would render without labels next to the textboxes and textarea boxes, but it does the opposite, that is ok (so I would leave text and textarea out to hide those labels, which is ok), but if I put radio in replace of either text or textarea, the label will not show, and I want the labels for the radio buttons (and other fields that don't support or cannot show placeholder text), I want the labels for radio buttons to show because a placeholder cannot be shown on those field types.
Brian
Thank you - Your Welcome
Brian
Rudi,
I don't know if it's any different, but I mentioned radio button, it's a yes / no radio field type, I don't think that makes any difference, but could that be the reason I am not getting the labels for the yes / no fields? I have tried radio and yes/no in the {if $field,Type =="radio'
Brian
Thank you - Your Welcome
Brian