Instead of doing a tab refresh on form submission, add a field (in HTML, preferably) that will be the HTML element that will be updated with the form response. This means that only that element would be updated after the form submission.
This function would still utilise .ajax() in submitForm(), but it won't push() a new Screen onto the Backstack. Instead it would keep the current page alive and just update the provided HTML element with the results from the form submission.
This should be shown in a new tab.
Instead of doing a tab refresh on form submission, add a field (in HTML, preferably) that will be the HTML element that will be updated with the form response. This means that only that element would be updated after the form submission.
This function would still utilise .ajax() in submitForm(), but it won't push() a new Screen onto the Backstack. Instead it would keep the current page alive and just update the provided HTML element with the results from the form submission.
This should be shown in a new tab.