看板 Web_Design 關於我們 聯絡資訊
目前線上訂單資料沒有填寫也能送出要如何寫出驗證有空白欄位就不能送出 <th colspan="9" align="center" bgcolor="#000000" class="special">基本資料</th> </tr> <tr> <th align="center" bgcolor="#EEEEEE" class="contentfont">姓名</th> <th colspan="8" align="left" nowrap="nowrap" bgcolor="#FFFFFF" class="contentfont"><input name="<%=fildName6%>" size="20" /></th> </tr> <tr> <th align="center" bgcolor="#EEEEEE" class="contentfont">電話</th> <td colspan="8" align="left" nowrap="nowrap" bgcolor="#FFFFFF" class="contentfont"> <input size="20" name="<%=fildName9%>" /> EX:0255889966 | 手機: <input size="20" name="<%=fildName10%>" />EX:0912555666 </td> </tr> <tr> <th align="center" bgcolor="#EEEEEE" class="contentfont">電子信箱</th> <th colspan="8" align="left" nowrap="nowrap" bgcolor="#FFFFFF" class="contentfont"> <input size="30" name="<%=fildName12%>" /> </th> </tr> <tr> <th align="center" bgcolor="#EEEEEE" class="contentfont">回覆方式</th> <th colspan="8" align="left" nowrap="nowrap" bgcolor="#FFFFFF" class="contentfont"> <input name="<%=fildName14%>" type="radio" value="E-mail" />E-mail <input name="<%=fildName14%>" type="radio" value="手機" checked="checked" />手機 <input name="<%=fildName14%>" type="radio" value="家用電話" />家用電話 </th> </tr> <tr> <th colspan="9" align="center" bgcolor="#000000" class="contentfont"><span class="special">確認上述資料無誤之後按下</span><br /> <input style="WIDTH: 200px" type="submit" value="送出" name="" /></th> </tr> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.3.111
nomoty:google一下滿多script認證textbox的方法 05/26 15:00
knives:順帶一提,前端只能當作提示使用者,後台還是要做一次檢查 05/26 17:03
airtsubasa:保險點後台做驗證是必要的 05/26 19:53
joechiboo:MVC是你的好朋友 05/28 09:12
twsphere:jquery validate 偷懶的好朋友 06/01 18:20