无法点击单选和复选框按钮联系人表单7

时间:2018-07-24 作者:TestimiUEB

这是代码。在文档中

[复选框*您所在的国家使用\\u label\\u element“中国”“印度”“圣马力诺”]

[广播您的运动标签\\u第一默认值:2“足球”“网球”“撑杆跳”]

但是在我的代码中,收音机和复选框是不可点击的?我错过了什么?

<div class="custom-control custom-radio">
[radio customRadio id:customRadio1 class:custom-control-input]
<label class="custom-control-label" for="customRadio1">Something</label>
</div>
<div class="custom-control custom-radio">
[radio customRadio id:customRadio2 class:custom-control-input]
<label class="custom-control-label" for="customRadio2">Something</label>
</div>

<div class="custom-control custom-checkbox">
   [checkbox checkbox1 id:customCheck1 class:custom-control-input]
   <label class="custom-control-label" for="customCheck1">Something</label>
 </div>
 <div class="custom-control custom-checkbox">
  [checkbox checkbox2 id:customCheck2 class:custom-control-input]
  <label class="custom-control-label" for="customCheck2">Something</label>
 </div>

1 个回复
SO网友:Trilok

请在联系人表单中使用以下html和快捷码。您错过了复选框和单选按钮值

<div class="custom-control custom-radio">
    [radio customRadio id:customRadio1 class:custom-control-input "value4"]
    <label class="custom-control-label" for="customRadio1">Something</label>
</div>

<div class="custom-control custom-radio">
    [radio customRadio id:customRadio2 class:custom-control-input "value5"]
    <label class="custom-control-label" for="customRadio2">Something</label>
</div>

<div class="custom-control custom-checkbox">
    [checkbox checkbox1 id:customCheck1 class:custom-control-input "Value1"]
    <label class="custom-control-label" for="customCheck1">Something</label>
</div>

<div class="custom-control custom-checkbox">
    [checkbox checkbox2 id:customCheck2 class:custom-control-input "value2"]
    <label class="custom-control-label" for="customCheck2">Something</label>
</div>

结束

相关推荐

Form Object Gravity Forms

重力形式。我尝试在渲染表单字段之前对其进行操作add_filter(\"gform_pre_render\", \"my_function\", 10, 5); function my_function($form){ ... $form[\"fields\"][0][\"content\"] = \'This is a html-block\' } 这样,我可以传递html块的内容,假设html是表单上的第一个字段。如何通过id? 假设上面的html块

无法点击单选和复选框按钮联系人表单7 - 小码农CODE - 行之有效找到问题解决它

无法点击单选和复选框按钮联系人表单7

时间:2018-07-24 作者:TestimiUEB

这是代码。在文档中

[复选框*您所在的国家使用\\u label\\u element“中国”“印度”“圣马力诺”]

[广播您的运动标签\\u第一默认值:2“足球”“网球”“撑杆跳”]

但是在我的代码中,收音机和复选框是不可点击的?我错过了什么?

<div class="custom-control custom-radio">
[radio customRadio id:customRadio1 class:custom-control-input]
<label class="custom-control-label" for="customRadio1">Something</label>
</div>
<div class="custom-control custom-radio">
[radio customRadio id:customRadio2 class:custom-control-input]
<label class="custom-control-label" for="customRadio2">Something</label>
</div>

<div class="custom-control custom-checkbox">
   [checkbox checkbox1 id:customCheck1 class:custom-control-input]
   <label class="custom-control-label" for="customCheck1">Something</label>
 </div>
 <div class="custom-control custom-checkbox">
  [checkbox checkbox2 id:customCheck2 class:custom-control-input]
  <label class="custom-control-label" for="customCheck2">Something</label>
 </div>

1 个回复
SO网友:Trilok

请在联系人表单中使用以下html和快捷码。您错过了复选框和单选按钮值

<div class="custom-control custom-radio">
    [radio customRadio id:customRadio1 class:custom-control-input "value4"]
    <label class="custom-control-label" for="customRadio1">Something</label>
</div>

<div class="custom-control custom-radio">
    [radio customRadio id:customRadio2 class:custom-control-input "value5"]
    <label class="custom-control-label" for="customRadio2">Something</label>
</div>

<div class="custom-control custom-checkbox">
    [checkbox checkbox1 id:customCheck1 class:custom-control-input "Value1"]
    <label class="custom-control-label" for="customCheck1">Something</label>
</div>

<div class="custom-control custom-checkbox">
    [checkbox checkbox2 id:customCheck2 class:custom-control-input "value2"]
    <label class="custom-control-label" for="customCheck2">Something</label>
</div>

相关推荐

Call another page in forms

我正在为WordPress插件做一些练习。在插件中,我正在处理一个表单,我需要的是在提交时调用另一个页面。我试过了,但似乎什么都没用。<form method = \"Post\" action = \"some_file.php\"> </form>