⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 13-14.txt

📁 开发王代码 代码
💻 TXT
字号:
<form name="addUser" id="addUser" action="" onsubmit="javascript:return checkForm(this);">
  <label id="normal" for="username">用户名:</label>
  <input name="user_id" id="user_id" type="text" checkIt="^[a-zA-Z]{1}([a-zA-Z0-9]|[._]){5,7}$" tips="只能包含字母、数字、下划线 (_),长度为6-8,开头必须是字母"/>
  <br />
  <label id="normal" for="user_password">密码:</label>
  <input name="user_password" id="user_password" type="password" checkIt="\S{5,7}" tips="长度为6-8"/>
  <br />
  <label id="normal" for="user_repassword">确认密码:</label>
  <input name="user_repassword" id="user_repassword" type="password" />
  <br />
  <label id="normal" for="user_truename">真实姓名:</label>
  <input name="user_truename" id="user_truename" type="text" checkIt="^[\u4e00-\u9fa5\uf900-\ufa2d]{1,11}$" tips="必须中文,长度小于12,大于2"/>
  <br />
  <label id="normal" for="user_email">电子邮件:</label>
  <input name="user_email" id="user_email" type="text" checkIt="^[a-zA-Z0-9]{1}[\.a-zA-Z0-9_-]*[a-zA-Z0-9]{1}@[a-zA-Z0-9]+[-]{0,1}[a-zA-Z0-9]+[\.]{1}[a-zA-Z]+[\.]{0,1}[a-zA-Z]+$" tips="请检查您的信箱地址填写是否有误!" />
  <br />
  <label id="normal" for="user_telephone">电话:</label>
  <input name="user_telephone" id="user_telephone" type="text" checkIt="^\d+$" tips="电话号码含有非法字符"/>
  <br />
  <label id="normal" for="user_fax">传真:</label>
  <input name="user_fax" id="user_fax" type="text" checkIt="^\d+$" tips="传真号码含有非法字符"/>
  <br />
  <label id="normal" for="user_date_of_birth">出生日期:</label>
  <input name="user_date_of_birth" id="user_date_of_birth" type="text" checkIt="^\d{4}\-\d{1,2}-\d{1,2}$" tips="日期格式:2005-05-25"/>
  <br />
  <label id="normal" for="user_gender">性别:</label>
  <input name="user_gender" type="radio" value="1"/>      
  <span id="normal">男</span>
  <input name="user_gender" type="radio" value="0" />
  <span id="normal">女</span>
  <br />
  <div style="text-align:center;">
    <input type="submit" name="Submit" value="提交注册" class="form_button"  />
    <input name="Reset" type="reset" id="Reset" value="重置" class="form_button" />
  </div>
  <input type="hidden" name="insert" value="addUser">
</form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -