Currently on Form Properties we only have 3 options :
- Display completion message
- Display completion message and a new form (I assume this means a blank first page of the same form)
- Display completion message and the next stage of the form
Since I created a form solely for the main menu of my application, how can I setup redirection so that after my other form is submitted they redirect to the menu form ?
Right now I added a manual anchor link below the completion message on each stage action. but it is hardcoded so if there is a change in the application unid I would have to edit each of them.
Surely there is better way of doing this.
Tinus Riyanto - Prisma Global Solusi
Tinus,
I've got my issues around this functionnality as well.
I did include a link to a page in the afterSave event which works. Still the page stays open displaying the message.
There ought to at least one other option :
- close page and execute afterSave event, a sort of override if you want.
Thanks for the tip. I ended up adding location.replace() on the afterSave event.
I have no problem with the confirmation page temporarily showing up before redirection happen. IMO that would be better since it inform user that their action has been completed.
I used it as well and it works fine.
The message in the button appears briefly then comes the re-direct page. So we can either have no message there or maybe insert a time-out if one wants to makea message visible.
But the important thing is this strategy works.
Thanks for sharing
If you do not want to see the submit message than you can delete it from the submit button properties.
There is also a Redirect URL property on every submit button where you can specify a URL to which the the user will be redirected after submit. The limitation is that this property cannot be set dynamically, it must be set at design time. I have submitted a feature request to provide a javaScript function that enables the application designer to dynamically set the redirect URL.