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
03600516
authored
May 24, 2018
by
Teeradone-PIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
teeradone edit
parent
6c193d1b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
www/src/Template/Profiles/index.ctp
+12
-0
No files found.
www/src/Template/Profiles/index.ctp
View file @
03600516
...
@@ -140,6 +140,7 @@
...
@@ -140,6 +140,7 @@
'id' => 'master_country_id',
'id' => 'master_country_id',
'label' => false,
'label' => false,
'type' => 'select',
'type' => 'select',
'require'=>'require',
'options' => $Country,
'options' => $Country,
'value' => $responseUserPersonal['master_country_id'],
'value' => $responseUserPersonal['master_country_id'],
'empty' => '---Select---',
'empty' => '---Select---',
...
@@ -158,6 +159,7 @@
...
@@ -158,6 +159,7 @@
'id' => 'master_province_id',
'id' => 'master_province_id',
'label' => false,
'label' => false,
'type' => 'select',
'type' => 'select',
'require'=>'require',
'options' => $Province,
'options' => $Province,
'value' => $responseUserPersonal['master_province_id'],
'value' => $responseUserPersonal['master_province_id'],
'empty' => '---Select---',
'empty' => '---Select---',
...
@@ -270,6 +272,16 @@
...
@@ -270,6 +272,16 @@
// return false;
// return false;
// }
// }
// });
// });
var master_country_id = document.getElementById("master_country_id").value;
if (master_country_id == null || master_country_id == "") {
alert("กรุณาระบุประเทศ");
return false;
}
var master_province_id = document.getElementById("master_province_id").value;
if (master_province_id == null || master_province_id == "") {
alert("กรุณาระบุจังหวัด");
return false;
}
$("body").delegate(".is_active", "click", function () {
$("body").delegate(".is_active", "click", function () {
$('.is_active').not(this).prop('checked', false);
$('.is_active').not(this).prop('checked', false);
...
...
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