Readonly Field Overwriting Dividing Line

Forums Classic DFFS Readonly Field Overwriting Dividing Line

Viewing 2 reply threads
  • Author
    Posts
    • #7725
      Ian Patrick
      Participant

      Hi Alexander,
      I’m getting an issue where when I make a field readonly in the DFFS Rules the separating line between fields is lost in the formbody area. It re appears if I remove the readonly status. In the image I have outlined the area in red and reverted to the default patten for read only fields so that it is more visible. I normally have this snippit in Custom CSS to match the background colour of the form td.dffs-readonly,td.dffs-readonly-inner{
      background-color:#FFFF66;
      background-image:url();
      }
      I am running DFFS V4.272.

      Thanks for any help you can give.

      Ian

      Attachments:
    • #7735
      Alexander Bautz
      Keymaster

      Hi,
      The reason you loose the default formating is because the original TD is substituted with a new one, and this does not use the default class from SharePoint. The new TD can be styled using standard CSS so if you add this line to your custom CSS:

      td.dffs-readonly,td.dffs-readonly-inner{
      background-color:#FFFF66;
      background-image:url();	
      border-top:1px silver solid;
      }

      You must verify the color of the border by inspecting an existing TD using the developer tools in the browser (hit F12) to match the same look.

      Hope this helps,
      Alexander

    • #7736
      Ian Patrick
      Participant

      Fantastic that fixed it. Thanks Alexander.

      Ian

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