Hiding Column Names

Home Forums General discussion Hiding Column Names

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #26514
      Anne Maki
      Participant

        Hello,

        How do I hide column names in DFFS forms? So for example, if I have this:

        Title: <Title Field>

        I want it to be this:

        <Title Field>

        where Title is the column name.

        Thanks!
        Anne

      • #26518
        Alexander Bautz
        Keymaster

          If you want to hide the label, but not hide the table cell and use both columns for the body of the field (the second table cell) you can use this in Field CSS:

          td.ms-formlabel *{display:none;}

          If you however want to entirely hide the first cell in this row you can use this in Custom JS:

          jQuery("#dffs_Title td.ms-formlabel").hide().next().prop("colspan","2");

          Replace “Title” with your field internal name.

          Alexander

        • #26552
          Anne Maki
          Participant

            Thank you Alexander. The first solution is what I was looking for but good to know about the 2nd in case I need it later! 🙂

            Anne

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.