Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

BrowseForm coloring when EditForm fields change

Questions related to customising nuBuilder Forte with JavaScript or PHP.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

BrowseForm coloring when EditForm fields change

Unread post by kknm »

Is it possible to change the color of the cells of the BrowseForm row when changing the old values ​​of some fields to new ones in the EditForm.
Let's admit on the form of 10 fields - changed 3 fields.
In the BrowseForm 3 line, the fields should be red.
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kev1n »

This might help: viewtopic.php?p=18810
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kknm »

No, this is not what I wanted.
I need to change only the changed row cells, not the entire column.
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kev1n »

Please provide more details like screenshots etc. the question is too abstract.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kknm »

Снимок экрана в 2022-11-25 10-15-52.png
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kev1n »

Could you also provide the rules? E.g. If CRDT is not equal to FULLDT then color cell red etc..
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kknm »

There is only one condition - if the old value has changed - then the cell is colored.
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kev1n »

In which columns are the old/new values?
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kknm »

Cells in red are changed.
The essence of this form - if you open the BrowseForm line and change some field in the EditForm, then returning to the BrowseForm, the cell should be red.
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: BrowseForm coloring when EditForm fields change

Unread post by kknm »

The changed cell must have the modified property.
This form, when reopened, should also retain the colors of the changed cells
Post Reply