Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi, if you already enabled the "Partially Store Form When Page Changed?" option, then the value of the Package ID should already be in the database once you submit the first page. Try to validate this by checking the database after submission. If this is the case, then the second form should be able to directly access that value since it's already there.
Hi Joget Team,
Currently in a form, I am using a multi page element.
The configuration is 1 main table for the main form, and different child tables for each of the multi page.
I enabled the "Partially Store Form When Page Changed?" and "Validate When Change Page" in the multi page properties.
In page 1 (Event Details), there is a select box for Package ID.
In page 2 (Package Details), there is a non-editable form grid where I am supposed to auto-populate it based on value of the Package ID using the form grid load bean shell.
The problem now is I am unable to get the value of Package ID in the form grid load bean shell.
I have tried the following:
In the form grid load bean shell, I've used the following code to get the Package ID value from the hidden field in page 2 but the log remains blank.
I'm not sure if I can use hash variables as I have no idea how to tie the main id to get the Package ID.
The reason for user selecting Package ID in Page 1 is due to it's business logic with some other fields.
I did entertain the idea to combine both page 1 and page 2 but I need to do a date validation against an existing table before proceeding to add other Package details.
Can anyone please advice me how to solve this problem?
Your help is greatly appreciated.