Netsuite表单和复选框在Wordpress中不起作用

问题描述

我们正在一个网站上,当我们将表单从一个网站移到另一个网站时,我们的复选框不再起作用。表单代码来自NetSuite,因此我们必须保留许多标签,以便正确通过。我尝试了几种不同的方法,但是复选框不会被选中。有人知道怎么回事吗?

代码如下:

<div class="form-group"><input onClick="setEventCancelBubble(event); setwindowChanged(window,true);;" aria-labelledby="custentity_contact_us_consent_fs_lbl" onChange="NLCheckBoxOnChange(this); " onKeyPress="NLCheckBoxOnKeyPress(event);  return true;" name="custentity_contact_us_consent" id="custentity_contact_us_consent_fs_inp" type="checkBox" value="T" class="checkBox" required><TD valign=middle Nowrap align=right class='smalltextnolink'><span class="checkBoxSpan smalltextnolink" style="white-space: wrap;" id="custentity_contact_us_consent_fs_lbl"><img class='required_icon' title='required Field' alt='required Field' src='https://system.na3.netsuite.com/images/chiles/pageTitle/required.png' /><span  class='smalltextnolink' onmouSEOver="this.className='smalltextnolink'; return true;" onmouSEOut="this.className='smalltextnolink'; ">I understand that by completing and submitting this form,I am affirmatively providing my consent to be contacted directly by Little Sunshine’s Playhouse and Preschool by any and all of the means outlined above.</span></span></TD><TD Nowrap valign=middle><span style="white-space: Nowrap" onClick="return NLCheckBoxOnClick(this);" id="custentity_contact_us_consent_fs" class="checkBox_unck"><input type="hidden" name="custentity_contact_us_consent_send"></span></TD></nlcustentity_contact_us_consent></div>

您可以从下面的链接中找到我的表格所在的链接。表格一直到底部

https://dev-little-sunshines-2020.pantheonsite.io/gilbert-arizona/

先谢谢您。我开始失去理智,为什么它仍然可以在旧站点上运行,而不在新站点上运行。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)