Cancel Button Not working when editing a form opened from openUrl
I have a custom function to edit a form which I use in a button on a related report. It uses the "openUrl" task to open the form with the correct record id, and it sets up the View Link and and Next URL. Here is what that URL looks like:
The form loads correctly and if I click on "Submit" on this form, everything works perfectly. However the "Cancel" button will NOT lead me to the next Url, and there is no "X" in the upper-right of the form edit screen, as I would see if I had edited the record directly from its own report.
Is there something else that should be specified in the URL to get the cancel functionality to work correctly?