在limesurvey中加入自己想要的用户验证的功能

<input id="answer99766X2X21" onclick="cancelBubbleThis(event);checkconditions(this.value, this.name, this.type)" type="checkbox" name="99766X2X21" value="Y" > echo "<input type='text' id='runonce' value='0' style='display: none;'/> <!-- JAVASCRIPT FOR CONDITIONAL QUESTIONS --> <script type='text/javascript'> <!--\n"; echo "var LEMradix='" . $radix . "';\n"; echo "var numRegex = new RegExp('[^-' + LEMradix + '0-9]','g');\n"; echo "var intRegex = new RegExp('[^-0-9]','g');\n"; echo "var count=0;\n"; print <<<END </pre> <pre lang="javascript"> function fixnum_checkconditions(value, name, type, evt_type, intonly) { newval = new String(value); if (typeof intonly !...

2012-12-19 · qhsong