[wordpress插件] 300form300台

wordpress 插件 文章 2020-01-21 10:40 617 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Less is more

少就是多

Use this simple plugin to validate your forms.

使用这个简单的插件来验证您的表单。

Use regular expressions to match user input against.

使用正则表达式来匹配用户输入。

No need to install huge plugins to validate your forms.

无需安装庞大的插件即可验证您的表单。

This plugin is there for validation, to build the actual form, you still have to do the coding.

该插件用于验证,要构建实际的表单,您仍然需要进行编码。

Features

功能

    • Obligatory fields
    • 必填字段

    • Patterns matching
    • 模式匹配

    • Support for dynamic forms
    • 支持动态表单

    • Lightweight, adaptable code
    • 轻巧,适应性强的代码

    I do not claim this code to be complete yet, as it is an alpha version.

    由于该代码是Alpha版,因此我不认为此代码是完整的。

    Before using it in your live site, please do some testing.

    在您的实时网站中使用它之前,请进行一些测试。

    Arbitrary section

    任意部分

    Please leave feedback, bug reports or comments at https://github.com/paddelboot/300form

    请在https://github.com/paddelboot/300form 上留下反馈,错误报告或评论。

安装步骤

How to install

如何安装

    1. Upload 300form.php to the /wp-content/plugins/ directory
    2. 300form.php 上载到 / wp-content / plugins / 目录

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

    5. Get a ‘form’ class instance.

    6. 获取“表单”类实例。

      See the files ‘page-300form.php’ and ‘template.php’ for example usage.

    7. 有关示例用法,请参见文件“ page-300form.php”和“ template.php”。

    Optional:

    可选:

      1. Copy the ‘page-300form.php’ to your theme folder
      2. 将“ page-300form.php”复制到您的主题文件夹中

      3. Create a page in the editor using ‘300form-example’ as a template
      4. 使用“ 300form-example”作为模板在编​​辑器中创建页面

      5. Access the example form in the frontend
      6. 在前端访问示例表单

      How to use (example):

      使用方法(示例):

      $form = new form();

        $ form = new form();

      $form->required = array( 'form_lastname' );

      $ form-> required = array('form_lastname');

      $form->pattern = array( 'form_lastname' => '!^[a-zA-Z]+$!' );

      $ form-> pattern = array('form_lastname'=>'!^ [a-zA-Z] + $!');

      $form->process( $_POST );

      $ form-> process($ _POST);

      $data = $form->processed_data;

      $ data = $ form-> processed_data;

      your_form_template
          

      您的表单模板
          

      下载地址

      https://downloads.wordpress.org/plugin/300form.zip

      https://downloads.wordpress.org/plugin/300form.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Auto Insert Title To Link自动插入要链接的标题
[wordpress插件] Data Mafia Dash Note数据黑手党破折号注意
[wordpress插件] Add Twitter Link to Comments将Twitter链接添加到评论
[wordpress插件] BP ShopBP商店
[wordpress插件] Clever Fox聪明的狐狸
随便看看
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4826
微信设置不可以使用小程序(游戏小程序) 5636
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586
阿里云com、cn域名续费优惠码(2020年6月可用) 3606