Dynamically Disable Required WordPress Contact Form 7 Form Fields

I was recently working on a WordPress form that uses the Contact Form 7 plug-in to build out the form. The client reached out and wanted a new checkbox that, when checked, would make certain fields display and mark them as required. When not checked, they wouldn’t be required or display to be filled in. Here’s the solution I came up with.

read more