[wordpress插件] autofill-CF7-BB自动填充-CF7-BB

wordpress 插件 文章 2020-02-25 05:50 531 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

autofill-CF7-BB let you autofill contact form 7 fields (input text, radio, select, checkboxes, textarea) with url GET variables.

autofill-CF7-BB允许您使用URL GET变量自动填充联系表单7个字段(输入文本,单选,选择,复选框,文本区域)。

It add a shortcode to write in the “contact form 7 template editor” for each field.

它为每个字段添加一个简短代码以在“联系表单7模板编辑器”中编写。

For drop down menu fields and radio/checkboxes you can specify wether you would select it by Id (from 0) or by value.

对于下拉菜单字段和单选/复选框,您可以指定是通过ID(从0开始)还是通过值进行选择。

You can also populate each field with new values from URL Get var, or replace firstly defined values.

您还可以使用URL Get var中的新值填充每个字段,或替换最初定义的值。

Requirements

要求

PHP 5+ (use Simple HTML Dom from 简单HTML Dom

projects/php-html/' rel="nofollow">Jose Solorzano)

projects / php-html /'rel =“ nofollow”> Jose Solorzano )

No javascript (excpet for option page…)

没有javascript(选项页的例外…)

Options description

选项说明

= USES =

=用途=

First of all, go into the template ?ditor of contact form 7, and choose the template which you want to “autofill”.

首先,进入联系表格7的模板菜单,然后选择要“自动填充”的模板。

shortcode : [AFCF_BB getvar=”myVar”][CF7 field][/AFCF_BB]

简码:[AFCF_BB getvar =” myVar”] [CF7字段] [/ AFCF_BB]

    • getvar : the URL GET variable name used to fill the CF7 field

    • getvar:用于填充CF7字段的URL GET变量名称

      eg : [AFCF_BB getvar=”myId”][select whatevername “Roger” “Jessica” “Steve” “Suzie”][/AFCF_BB]

    • 例如:[AFCF_BB getvar =“ myId”] [选择任何名称“ Roger”“ Jessica”“ Steve”“ Suzie”] [/ AFCF_BB]

    and url as : http://mysite.com/?page_id=1&myId=2

    ,网址为:http://mysite.com/?page_id=1&myId=2

    will select id 2 for the select field so “Steve” (numbering start by 0 (not 1)).

    将为选择字段选择ID 2,因此选择“史蒂夫”(编号以0(不是1)开头)。

    Other method :

    其他方法:

    * meth=”value” : will selet by value

    * meth =“ value”:将按值选择

    * meth=”add” : will add at the bottom new input

    * meth =“ add”:将在底部添加新输入

    * meth=”rep” : will replace current values

    * meth =” rep”:将替换当前值

    For “add” and “rep” you could preselect values by adding “*” before values, eg :

    对于“ add”和“ rep”,您可以通过在值之前添加“ *”来预先选择值,例如:

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

    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).

    wordpress的页面(如果已安装)。

    for any question, please contact me at http://asblog.etherocliquecite.eu

    如有任何疑问,请通过http://asblog.etherocliquecite.eu 与我联系。

安装步骤

    1. Upload the entire autofill-CF7-BB folder to the /wp-content/plugins/ directory.
    2. 将整个 autofill-CF7-BB 文件夹上载到 / wp-content / plugins / 目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    For usage, please refer to the “Other note” section.

    有关用法,请参阅“其他说明”部分。

下载地址
https://downloads.wordpress.org/plugin/autofill-cf7-bb.1.0.1.zip
-EOF-

AI助手支持GPT4.0