Styling of read only fields when used in a rule

Forums General discussion Styling of read only fields when used in a rule

This topic contains 1 reply, has 1 voice, and was last updated by  Joel Hjalmarsson 1 week, 3 days ago.

  • Author
    Posts
  • #25989

    Joel Hjalmarsson
    Participant

    I’m using a rule in the edit form which makes all fields except for one read only. However when i do that the styling drops to this really basic look. I’d like the read only fields to look the same as when I look at the Display form. Can that be done?

    The DFFS2 image shows what the read only fields in EditForm looks like which is set in a rule.

    The DFFS1 shows the DispForm and i’d like the same look in the EditForm. I did try the field CSS get css config from dispform radio button but that didn’t make any difference.

    Any ideas?

  • #25993

    Joel Hjalmarsson
    Participant

    Made it work by adding this into the custom css

    .dffs-readonly-inner {
    padding: 3px 6px 4px 6px;
    border-top: 1px solid #66b8d1;
    font-size: 9pt;
    background: #e6f1fa;
    vertical-align: top;
    padding-top: 3px;
    }

You must be logged in to reply to this topic.