有用的dede表单代码

时间:2023-12-22 21:33:08

<form action="" class="demoform">
                <table>
                    <tr>
                        <td width="265">
                            <span>手机号码:</span>
                        </td>
                        <td>
                            <input type="text" name="" id="" datatype="m" class="txt" sucmsg="用户名验证通过!" nullmsg="请输入用户名!" errormsg="请手机号码注册!"  placeholder="该号码用于登陆" />
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码:</span>
                        </td>
                        <td>
                            <input type="password" name="" id="" class="txt" placeholder="6~16位" datatype="*6-15" errormsg="密码范围在6~15位之间!" />
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>密码确认:</span>
                        </td>
                        <td>
                            <input type="password" name="" id="" class="txt" placeholder="请再次输入密码" datatype="*" recheck="userpassword" errormsg="您两次输入的账号密码不一致!" />
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:</span>
                        </td>
                        <td>
                            <input type="text" name="" id="" class="txt" placeholder="请填写真实姓名" datatype="s2-4" />
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>QQ 号码:</span>
                        </td>
                        <td>
                            <input type="text" name="" id="" class="txt" datatype="n5-10" placeholder="请输入QQ号码" />
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span>验&nbsp;证&nbsp;码:</span>
                        </td>
                        <td>
                            <input type="text" name="" id="" class="txt txt1" datatype="s" placeholder="请填写验证码" />
                            <input type="button" value="获取验证码" class="btn2">
                            <div class="Validform_checktip"></div>
                        </td>
                    </tr>
                    <tr class="tr30"></tr>
                    <tr class="tr40">
                        <td>
                            <span></span>
                        </td>
                        <td>
                            <label>
                                <input type="checkbox" name="" id="" />
                                <em>同意咨询老师主动联系评估录取概率<em>
                            </label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <span></span>
                        </td>
                        <td><div class="btn"><a href="">注册</a></div></td>
                    </tr>
                </table>
            </form>