autofill-CF7-BB

autofill-CF7-BB Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 1,864 downloads
autofill-CF7-BB Icon

Try plugin: autofill-CF7-BB

We'll create fresh WordPress site with autofill-CF7-BB installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About autofill-CF7-BB

Add shortcode for fields autofill of Contact Form 7 plugin by URL get variable, by Id or by value, or add new value(s).

0


0


0


0


0

updated: 12 years ago
since: 12 years ago
author: Billyben

Description

autofill-CF7-BB let you autofill contact form 7 fields (input text, radio, select, checkboxes, textarea) with url GET variables. It add a shortcode to write in the “contact form 7 template editor” for each field.
For drop down menu fields and radio/checkboxes you can specify wether you would select it by Id (from 0) or by value. You can also populate each field with new values from URL Get var, or replace firstly defined values.

Requirements
PHP 5+ (use Simple HTML Dom from Jose Solorzano)

No javascript (excpet for option page…)

Options description

= USES =
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]

  • getvar : the URL GET variable name used to fill the CF7 field
    eg : [AFCF_BB getvar=”myId”][select whatevername “Roger” “Jessica” “Steve” “Suzie”][/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 :

http://mysite.com/?page_id=1&addval=Steeve$Rebecca$julie

For more detail, consult the plugin page or see it in the plugin option page of wordpress (when installed).
for any question, please contact me at http://asblog.etherocliquecite.eu