Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
smart_core_connect
/
core-connect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
96be74a2
authored
May 17, 2018
by
Teeradone-PIM
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'teeradone' into integration
# Conflicts: # www/src/Template/Users/signup.ctp
parents
32088e4a
854e41de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
www/src/Controller/UsersController.php
+1
-0
www/src/Template/Users/signup.ctp
+10
-0
No files found.
www/src/Controller/UsersController.php
View file @
96be74a2
...
@@ -231,6 +231,7 @@ class UsersController extends AppController
...
@@ -231,6 +231,7 @@ class UsersController extends AppController
}
}
}
}
public
function
notification
(
$data
=
null
)
public
function
notification
(
$data
=
null
)
{
{
if
(
!
empty
(
$data
)){
if
(
!
empty
(
$data
)){
...
...
www/src/Template/Users/signup.ctp
View file @
96be74a2
...
@@ -468,7 +468,17 @@
...
@@ -468,7 +468,17 @@
<!--------------------------------- 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 ) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment