Adding a captcha widget to a form in a modal
Hi Ray, I wonder if you could take a look at the attached page? I have a booking form in a modal window which I've just added a captcha to. The other fields all have server validation applied as well. However, I've only just noticed that none of the validation is actually working properly - you hit the submit button and if the fields are correctly completed the form submits, the email sends and you're redirected to the success message, but if the fields aren't correctly completed the modal window still closes and no message is shown so the user doesn't know the form hasn't submitted. I thought it was just because the form is in a modal but even if you re-open the window, none of the validation show if fields are showing. I've been trying for hours to get this to work properly with no success! The ideal scenario would be for the modal window not to close when the button is pressed.