小编Chr*_*eE0的帖子

需要联系表 7 下拉菜单吗?

我正在使用 Contact Form 7 为客户制作表格。我已将所有字段设置为必填字段,包括选择(下拉)字段。但是,当未选择下拉字段时,表单仍在发送。

有没有办法“强制”需要一个字段?以前有人遇到过这个吗?你知道如何提供帮助吗?

这是我的代码:

 <label> Name: (Required)
[text* your-name] </label>

<label> Surname: (Required)
[text* your-name] </label>

<label> Contact Number: (Required)
[text* your-number] </label>

<label> Email Address: (Required)
[email* your-email] </label>

<label> Choose Branch: (Required)[select* recipient "Choose Branch:"
                "Johannesburg|christie@oonie.co.za"
                "Pretoria|christie@oonie.co.za"
                "Cape Town|christie@oonie.co.za"
                "Durban|christie@oonie.co.za"
                "Garden Route|christie@oonie.co.za"
                "Port Elizabeth|christie@oonie.co.za"
                "East London|christie@oonie.co.za"
                "Nelspruit|mchristie@oonie.co.za"
                "Vaal Triange|christie@oonie.co.za"]</label>

<label> Product: (Required)[select* product "Please select product:"
                "Product"
                "Product"
                "Product"
                "Product"
                "Product"
                "Product"
                "Product"
                "Product"]</label>

<label> Physical Address: (Required)
[text* your-area] </label>

<label> Size in Meters: …
Run Code Online (Sandbox Code Playgroud)

wordpress contact-form-7

3
推荐指数
1
解决办法
8594
查看次数

标签 统计

contact-form-7 ×1

wordpress ×1