Add shortcode for fields autofill of Contact Form 7 plugin by URL get variable, by Id or by value, or add new value(s).
First of all, go into the template Úditor of contact form 7, and choose the template which you want to "autofill".
shortcode : [AFCF_BB getvar="myVar"][CF7 field][/AFCF_BB]
and url as : http://mysite.com/?page_id=1&myId=2
will select id 2 for the select field so "Steve" (numbering start by 0 (not 1)).
Other method : * meth="value" : will selet by value * meth="add" : will add at the bottom new input * meth="rep" : will replace current values
For "add" and "rep" you could preselect values by adding "*" before values, eg :
Requires: 2.8.1 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 50+
Got something to say? Need help?