-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple form elements on one page all display thank you message after one is submitted #50
Comments
I propose to change the URL to /finished/#uff=ID and check for that. If the fragment is grepped (i.e. the URL checked for the presence of the substring hashmark uff), then legacy code should continue to work. New code could instead discern for what form has been submitted. |
@digitall-it the anchor fragment is not passed to the server, so it can't use it for any logic. |
Fine. Can't then any variable be passed back to the frontend in the get URL to be used by javascript to locate and scroll to the right form? For example, surely the server knows the Form ID, and that can at least be passed back, like |
PR merged. This will be automatically tagged by GitHub Actions. |
The presence of the /finished/#uff in the URL makes all UDF elements on the same page display the Thank you message even though only one was submitted.
PRs
The text was updated successfully, but these errors were encountered: