+ Reply to Thread
Results 1 to 10 of 11

Thread: Hide labels on post ad page...

Hybrid View

  1. #1
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,214
    in field.tpl file

    change:
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.
    you can add more field types to the condition if necessary

  2. #2
    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
    Quote Originally Posted by Rudi View Post
    in field.tpl file

    change:
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.
    you can add more field types to the condition if necessary
    Thank you - Your Welcome
    Brian

  3. #3
    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
    Quote Originally Posted by Rudi View Post
    in field.tpl file

    change:
    Code:
    Only registered members can view the code.
    to:
    Code:
    Only registered members can view the code.
    you can add more field types to the condition if necessary
    Thank you - Your Welcome
    Brian

+ Reply to Thread