Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Are you using the CRUD for this? if so, there's a URL parameter being sent to the form to distinguish add/edit mode. i.e _mode=add or _mode=edit. You can use request parameter hash variable to get that value.
Thank you Ian. I was not using CRUD but your answer pointed me in the right direction. I added a custom parameter and was able to read it from the hash variable.
Hi,
I need to do post form submission processing and will be using beanshell. The script will run on both an "add" and an "edit". However I need to differentiate between the two as the processing will be different based on whether I am creating a new record or editing an existing one. How can I check whether we are in an "add" mode versus an "edit" mode in beanshell?