[wordpress插件] 300form300台

wordpress 插件 文章 2020-01-21 10:40 618 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插件] Chronological Spam Removal按时间顺序清除垃圾邮件
[wordpress插件] Appointment Booking For Business商务预约
[wordpress插件] Arbitrage Expert套利专家
[wordpress插件] ACF Duplicate RepeaterACF复制中继器
[wordpress插件] Admin User Message管理员用户留言
随便看看
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394