CS Forms - Email action and hide form on submission

Hi @charlie ,

I have a simple callback form with cloudflare turnstile connected. I also have a thank you div

When I set the conditions to hide the form on submission with no errors and show the thank you form. the email never comes through.

When I take the condition off the contact form, the email comes through

Could this be that the sending of the email takes place after the hide the form?

Yes if the form is hidden itself the actions are also ‘hidden’ or they don’t run in other words. It’s come up before, but currently you would need to have a container for your form inputs and a container for you thank you. And hide those container and not the form itself. Let me know if that helps.

Hi @charlie

Yes that helps a lot thank you

Slowly getting to grips with the forms and found the php action as well for sending into a CRM api