WP-App wordpress小程序套件使用说明

WP-App wordpress小程序套件使用说明


表单数据json定义说明

<p>如下例子定义了一个表单有3个输入项</p> <pre><code class="language-json">[ { "title" : "姓名", "type" : "text", "required":1, "placeholder" : "请输入姓名" }, { "title" : "电子邮件", "type" : "text", "required":0, "placeholder" : "请输入电子邮件", "value": "" }, { "title" : "", "type" : "textarea", "required":1, "placeholder" : "请输入内容", "value": "" } ]</code></pre> <p>title 为显示名称 type 为类型,可选值目前支持 text,number, idcard, digit required 表示是否必填,1为必填,0为表示非必填项 placeholder 为默认提示 value 为预设默认值</p>

页面列表

ITEM_HTML