1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 How to show checkbox field's result next to each other

Discussion in 'Styling and Customization Questions' started by Dadparvar, Dec 4, 2015.

Tags:
  1. Dadparvar

    Dadparvar Well-Known Member

    Hi,

    I created a custom field and it is using "Check Boxes" as Field Type. (this field let users to choose their time of working during a day)
    (Imagine a user choose this hours: 8, 9, 10, 11, 12, 16, 17, 18, 19)
    Now it shows like this to users:
    Code:
    8
    9
    10
    11
    12
    16
    17
    18
    19
    How can I set it to show like this in item page?:
    Code:
    8, 9, 10, 11, 12, 16, 17, 18, 19
    The same is for work days. (another field)

    Regards
     
  2. Mike

    Mike XenForo Developer Staff Member

    Have a look at the custom_field_view template. You may be able to modify the HTML there, though this would apply to any field (without various conditionals).
     
    Dadparvar likes this.

Share This Page