Category status parent form set by comparison in form grid

Confluence User - 14 Jul, 2022


Hi all,

Im still new in using Joget. Is it possible if "Status=Container Category" (2) decided by the comparison between "DG Category column" (1)? Do you have any idea for this issue?

Category priority list

DG Category                       | Container category
Restricted + Whitelist          = Restricted
Restricted +  Non Whitelist = Restricted
Whitelist + Non Whitelist    = Whitelist

forms;datalists;form;form-grid;list;list-grid;parent;child

1


15 Jul, 2022
confluenceUser
confluenceUser

Hi,

you'll probably need to do some Javascript. use Joget's Javascript API getGridCellValues

https://dev.joget.org/community/display/DX7/Javascript+API#JavascriptAPI-getGridCellValues(cellFieldId)


use CustomHTML

get the grid values

do your logic (DG Category thing)

result of your logic should then be set on your Container category


And I'll think it should work

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print