How to make DCA line item go blank when FALSE
I have created a module to submit and approve new employees.
Line items of interest: Submit, Approve.
Submit is boolean formatted and is TRUE when a person is submitted for approval, FALSE otherwise.
Approve is a list-formatted line item with 2 list items (Approve, Reject) and DCA driven by the Submit line item: If Submit is TRUE then Approve has Write access otherwise not.
I want that if a person has submitted a new employee and this then gets rejected by the person doing the approval it should be possible to do a new submit of the same person. So I want the submitter to be able to click on the submit boolean once to tick it off, then do some changes to employee information, and then submit again by clicking Submit line item to become TRUE once again. This is of course possible now, but the Approval line item is not blanked out but still has "Rejected" and conditional formatting on.
How can I make it so that as soon as Submit goes "FALSE" that the Approval line item goes blank like from the start?