I have a form that works fine with typing and submitting. An email is sent and the form disappears, there is a message that it has worked. This is how it was configured in the workflow.
But when I add a Recaptcha V3, the form is cleared and an email comes, but no success message. When I reload the same page, the success message appears.
I found the error. It had to do with the loadbalancer and the two servers we are running our site.
My solution was to add nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/affinity-mode: "persistent"
nginx.ingress.kubernetes.io/session-cookie-change-on-failure: "true"
to the yml file so the page will stick to one server
Umbraco forms empty after sending
I have a form that works fine with typing and submitting. An email is sent and the form disappears, there is a message that it has worked. This is how it was configured in the workflow.
But when I add a Recaptcha V3, the form is cleared and an email comes, but no success message. When I reload the same page, the success message appears.
Does anyone have the same error and can help me?
I found the error. It had to do with the loadbalancer and the two servers we are running our site.
My solution was to add
nginx.ingress.kubernetes.io/affinity: "cookie" nginx.ingress.kubernetes.io/affinity-mode: "persistent" nginx.ingress.kubernetes.io/session-cookie-change-on-failure: "true"
to the yml file so the page will stick to one serveris working on a reply...