Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
RestoranPondokEdo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mei Romauli Sagala
RestoranPondokEdo
Commits
804447fc
Commit
804447fc
authored
May 27, 2017
by
Roy Junedi Simamora
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.del.ac.id/MeiRSagala/RestoranPondokEdo
parents
afd1f261
4913aa4e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
47 deletions
+19
-47
form_daftar.php
form_daftar.php
+1
-1
index.js
js/index.js
+18
-46
No files found.
form_daftar.php
View file @
804447fc
...
...
@@ -72,7 +72,7 @@ require_once(dirname(__FILE__).'/common/header.php');
<div
class=
"form-group"
>
<label
class=
"col-md-4 control-label"
></label>
<div
class=
"col-md-4"
>
<button
type=
"submit"
class=
"btn btn-warning"
>
Daftar
<span
class=
"glyphicon glyphicon-send"
></span></button>
<button
type=
"submit"
class=
"btn btn-warning"
>
Daftar
<span
class=
"glyphicon glyphicon-send"
></span></button>
</div>
</div>
</fieldset>
...
...
js/index.js
View file @
804447fc
...
...
@@ -14,52 +14,47 @@
},
'json'
);
},
fields
:
{
first_
name
:
{
name
:
{
validators
:
{
stringLength
:
{
min
:
2
,
},
notEmpty
:
{
message
:
'Isi Nama Depan'
}
}
},
last_name
:
{
address
:
{
validators
:
{
stringLength
:
{
min
:
2
,
min
:
8
,
},
notEmpty
:
{
message
:
'Isi
Nama Belakang
'
message
:
'Isi
Alamat Anda
'
}
}
},
email
:
{
phone
:
{
validators
:
{
notEmpty
:
{
message
:
'Isi E-mail Anda'
stringLength
:
{
max
:
13
,
}
},
}
email
:
{
validators
:
{
emailAddress
:
{
message
:
'Isi E-mail Anda Dengan Benar'
}
}
},
phone
:
{
validators
:
{
notEmpty
:
{
message
:
'Isi Nomor Anda'
}
}
},
address
:
{
username
:
{
validators
:
{
stringLength
:
{
min
:
8
,
min
:
2
,
},
notEmpty
:
{
message
:
'Isi Alamat Anda'
}
}
},
password
:
{
...
...
@@ -67,32 +62,9 @@
stringLength
:
{
min
:
4
,
},
notEmpty
:
{
message
:
'Isi password Anda'
}
}
},
state
:
{
validators
:
{
notEmpty
:
{
message
:
'Pilih Provinsi'
}
}
},
zip
:
{
validators
:
{
notEmpty
:
{
message
:
'Isi Zip kode'
},
}
},
sex
:{
validators
:{
notEmpty
:{
message
:
'Pilih Jenis Kelamin'
}
}
}
}
})
$
(
'#contact_form'
).
data
(
'bootstrapValidator'
).
resetForm
();
...
...
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