You are viewing limited content. For full access, please sign in.

Question

Question

Action History within Forms - Colour Change

asked on September 18, 2018

Hi All,

 

Was wondering if there is a possibility of making the following changes within 10.3.1 of Laserfiche Forms:

 

1. We have a scenario where the user would love for the comments fields to be "Expanded" always instead of them having to click on the button to expand it each time? Is that possible? 

i.e: 

 

2. Would it be possible for the comments colour and size be in the action panel be changed? To stand out more for the users? 

i.e 

 

With many thanks

Ziad 

 

0 0

Replies

replied on September 19, 2018

1.    Note that those elements only exist once the Details pane has been expanded:

$('.history-toggle-btn span[title="Expand"]', window.parent.document).click();

    I haven't yet found a way to force the Details pane to expand and then interact with the Action History without having to add arbitrary delays.

2.    .history-comment is styled in \Styles\cf.css. Or to handle it from within a form:

$('head', window.parent.document).append('\
    <style type="text/css">\
        .history-comment {\
            font-size:24px;\
            color:#0da88b !important;\
        }\
    </style>');
2 0
replied on September 20, 2018

Thanks Scott, 

 

Will def try that out and see how i go, 

 

Many thanks

Ziad

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.