【发布时间】:2019-11-18 23:47:02
【问题描述】:
我正在尝试为网站上的每个联系表 7 添加四个复选框。
第一个复选框应该选择/取消选择所有 3 个复选框。
其次是关于隐私政策。
第三个复选框用于营销目的,应该有一个按钮(显示更多/显示更少)。
第四个与第三个相同。
请您帮我解决一下。
我曾尝试使用 show more/show less 插件,但没有成功。
<div class="fullwidthcontactinputinlinesmall"><label> Wybierz temat [select* menu-1 include_blank "Kredyt" "Pożyczka" "Współpraca" "Inny"]</label>
</div>
<div class="onehalfcontactinputinlinesmall">[text* text-1 placeholder "Imię i nazwisko*"]</label></div>
<div class="onehalfcontactinputinlinesmall">[tel* tel-1 placeholder "Telefon kontaktowy*"]</label></div>
<div class="onehalfcontactinputinlinesmall">[email* email-1 placeholder "Adres e-mail*"]</label></div>
<div class="onehalfcontactinputinlinesmall">[text* text-2 placeholder "Kwota kredytu"]</label></div>
<div class="contacttextarea">[textarea* textarea-1 placeholder "Treść wiadomości*"]</div>
[First box should selected all checkboxes]
[acceptance acceptance-1 class:consentcontactcustomleft] Lorem Ipsum has been the industry's standard dummy text ever since the 1500s <a href="https://Lorem Ipsum has.pl/polityka-prywatnosci/">privacy policy</a>. [/acceptance]
[acceptance acceptance-2] Lorem Ipsum is simply dummy text[SHOW MORE/ SHOW LESS BUTTON] of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text [/acceptance]</div>
<div style="margin-top: 10px;">[acceptance acceptance-3] Lorem Ipsum is simply dummy text[SHOW MORE/ SHOW LESS BUTTON] of the printing and typesetting industry. Lorem Ipsum has been the industry's s[/acceptance]</div>
[submit id:submitButton "Submit"]
【问题讨论】:
标签: jquery wordpress contact-form-7