主页 M

html5 input正则欣赏-中达打印保存

2014-06-04 网页编程网 网页编程网
 <form name='create2D' method='get' action='BarcodeMain'>  
        Plant:<input type='text' name='Plant' value='PSH1' required pattern="(PSH1)" readonly><br>  
        Pn:<input type='text' name='Pn' value='' required><br>  
        Qty:<input type='number' name='Qty' required pattern="[0-9]+">(仅限数字)<br>  
        Uint:<input type='text' name='Uint' value='PCE' required pattern="(PCE)" readonly><br>  
        Vendor:<input type='text' name='Vendor' value='0000317220' required><br>  
        D/C:<input type='text' name='Dc' value='1230' required><br>  
        T/C:<input type='text' name='Tc' value='03' required><br>  
        Po:<input type='text' name='Po' value='CIBY' required><br>  
        Inv No:<input type='text' name='Inv' value='1234567890123456' required pattern="[0-9]{16}"><br>  
        条码流水号:<input type='text' name='Num' value='20121101000001' required pattern="[0-9]{14}">(请手动修改后6位,永不重复;允许非连续递增,连同当前日期共14位。)<br><input type='submit' value='生成条码'>  
    </form>
阅读原文
阅读 4306
123 显示电脑版