Commit 6876bbfb by Teeradone-PIM

Merge remote-tracking branch 'integration/wittaya' into teeradone

# Conflicts:
#	www/src/Template/Users/signup.ctp
parents c12a7dbd 33d6356c
...@@ -470,7 +470,15 @@ ...@@ -470,7 +470,15 @@
<!--------------------------------- confirm password ------------------------------ --> <!--------------------------------- confirm password ------------------------------ -->
<script> <script>
function check_number() {
e_k=event.keyCode
//if (((e_k < 48) || (e_k > 57)) && e_k != 46 ) {
if (e_k = 13 && (e_k < 48) || (e_k > 57)) {
event.returnValue = false;
alert("ขออภัยหมายเลขบัตรประจำตัวประชาชน ต้องเป็นตัวเลขเท่านั้น");
}
}
function check_phone() { function check_phone() {
e_k=event.keyCode e_k=event.keyCode
//if (((e_k < 48) || (e_k > 57)) && e_k != 46 ) { //if (((e_k < 48) || (e_k > 57)) && e_k != 46 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment