Thanks @timmse
The required checkbox in this case will not work.
Let me explain:
Exactly, if you make the checkbox required, and the checkbox is not checked, then the form will not send. But that’s not what I’m after.
As I said before, this is a Contact Form. The contact form has following fields:
Name,
Email,
Message,
and the Checkbox that says: Yes, I give permission, please put my details on your marketing list.
The checkbox here acts as a permission. By checking the box people are giving permission that I can use their details for my marketing purposes.
If people fill up the Contact Form and check the checkbox (give permission), then the form is sent triggering both actions ‘Email’, and also ‘Sendgrid’. So I receive their message, and the details are also passed onto my Sendgrid marketing list, where I can use these details for marketing purposes.
But If people fill up the Contact Form and leave the checkbox unchecked, then the form will still send as I still need to receive the message, but in this case only action ‘Email’ is triggered.
The second action ‘Sendgrid’ will not trigger since people didn’t give permission (by not checking the box) with adding their details onto my Sendgrid marketing list.
So, I need the Contact Form to send regardless of whether the checkbox is checked or not, but only record the details into Sendgrid (trigger action ‘Sendgrid’) if the checkbox has been checked. (people gave permission)
Does it make more sense?
Please take a look at this example: https://ibb.co/RSsCCm6
Jan