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

XF 1.2 Removing the 'required' bit from custom field?

Discussion in 'XenForo Questions and Support' started by Floren, Dec 20, 2013.

  1. Floren

    Floren Well-Known Member


    I added 2 custom fields, first and last name.
    I would like to remove the 'required' part and add it manually into field description, to make the registration form uniform:
    For a live example, please check the registration form to see what I mean:

    While playing with the custom fields, I noticed this behavior: If I select the Required option, the field will not display into registration form unless the Editable option is checked. I presume this is the way to disable a field, while preserving the previous data (untick Editable).
  2. RoldanLT

    RoldanLT Well-Known Member

    .ctrlUnit > dt dfn {
    display: none;
    Floren likes this.
  3. Floren

    Floren Well-Known Member

    Thank you for the tip. I added in EXTRA.css:
    dl.ctrlUnit dfn
        display: none;
    My goal is to use the first and last name (instead of username) into threads, profile, etc.
    Any tips on how to make available the 2 custom fields into templates?

Share This Page