No Success Page when processing Form
Posted: Sat Apr 10, 2021 1:34 pm
I have a Form which is part of a Flex Container but the Success Page is not being actioned.
The Form is used to delete entries in a database and uses the standard form processing. To delete the record in the database I am using the strategy detailed in the FAQ "Form elements or links no longer works with events". To process the form a Submit button is used together with an onclick event to run Javascript with the Javascript field "mySqlDelete();return true;". When the submit button is clicked the form is processed with the message and autoresponder being sent and received and the database entry is deleted but the page does not redirect to the Success page.
If I remove the Javascript event then the message and autoresponder work as well as the redirect to the Success Page, proving that the form processing details are correct.
My settings can be seen at https://www.dropbox.com/s/74cugqapvssx0 ... e.wbs?dl=0
EDIT I have just noticed that there was a similar enquiry earlier today viewtopic.php?p=458512#p458513 - pure coincidence as I have been working on this for the past 2 days!
The Form is used to delete entries in a database and uses the standard form processing. To delete the record in the database I am using the strategy detailed in the FAQ "Form elements or links no longer works with events". To process the form a Submit button is used together with an onclick event to run Javascript with the Javascript field "mySqlDelete();return true;". When the submit button is clicked the form is processed with the message and autoresponder being sent and received and the database entry is deleted but the page does not redirect to the Success page.
If I remove the Javascript event then the message and autoresponder work as well as the redirect to the Success Page, proving that the form processing details are correct.
My settings can be seen at https://www.dropbox.com/s/74cugqapvssx0 ... e.wbs?dl=0
EDIT I have just noticed that there was a similar enquiry earlier today viewtopic.php?p=458512#p458513 - pure coincidence as I have been working on this for the past 2 days!