How To Make New Field Appear When A Checkbox Is Ticked In Contact Form 7


Staff member
I had created a form with wordpress contact form 7 and here is how the shortcodes looks like :

<p>Name</p><br />
[text* your-name] </p>

<p>E-mail<br />
[email* your-email] </p>

<p>Subject<br />
[text your-subject] </p>

<p>Message<br />
[textarea your-message] </p>
<p>Where did you hear about us?<br />
[checkbox* your-country "Google search" "referral" "link" "Advertisement"]</p>

<p>[submit "Send"]</p>

But in the checkbox area when people select Google Search I would like a new field to appear where people can write which keyword they used.

Any help would be much appreciated!