In a CustomPage, the setFormData function also triggers an auto save which sets the returnUrl to the current path. If that CustomPage is usually hidden (depends callback always returns false), then if the user closes the browser and later returns, the returnUrl will point to a hidden page and the save in progress continuation will cause the button click to return to the introduction page. There is no way to fix this "broken" returnUrl without restarting the form.
Front end tasks
[ ] Add a method to set the returnUrl for hidden Custom pages
[ ] If the "Finish this application later" link is visible & used, it also uses the set returnUrl
Issue Description
In a
CustomPage
, thesetFormData
function also triggers an auto save which sets thereturnUrl
to the current path. If thatCustomPage
is usually hidden (depends
callback always returnsfalse
), then if the user closes the browser and later returns, thereturnUrl
will point to a hidden page and the save in progress continuation will cause the button click to return to the introduction page. There is no way to fix this "broken"returnUrl
without restarting the form.Front end tasks
returnUrl
for hidden Custom pagesreturnUrl
Acceptance Criteria