Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
You could use javascript where onclick event on said button to perform window.location
If I submit/save the form, I gave redirection to xyz page. so if I submit/save the form it will take you to the xyz page.
If I click on the save as draft button, it is taking me to the xyz page only.
I added on click java script event to the save as draft button,
it is not working , it is still considering save/submit function , so it is taking to xyz page when I click on save as draft button.
I think inside the save as button which joget provided code, inside there it may be conflicting only in form level.
(Add Save as Draft feature to Run Process activity form)
In process - Activity(form) level it will work redirection, properly.
Please check once
Have you tried changing the store binder then? Try using the storeUsingJDBC in Store Form Field Data to Multiple Tables - Knowledge Base for DX 7 - Joget | COMMUNITY
Then after saving the data, do an if statement: if button pressed is "save as draft", perform a response.sendRedirect(url);
Problem:- Redirection is not working on Save as draft in form level (no process used).
Note:- Redirection is working if we have process(means if that form is inside the process)
Hello Experts,
I am trying to redirect to some other page when user clicks on save as draft button.
I am not used any process, we want redirection only in form level.
I have wrote the code(save as draft) from this joget link:(url:https://dev.joget.org/community/display/DX7/Add+Save+as+Draft+feature+to+Run+Process+activity+form)
In that code, they have mentioned how to enable the redirect, it will work on activity means if that form is in process.
We want in only form to form level.
I have one form and its data list in my application, we don't need process,
So, if I click this form as save as draft, I want to redirect it to some other page. but if I enable the redirection as per that code in the url, that code will not work in form level.
How to achieve this?