Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
4a240381
Commit
4a240381
authored
Jan 08, 2018
by
basm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PW-338 Validation Additional fields
parent
1bfb631f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
view/frontend/web/template/payment/hpp-form.html
view/frontend/web/template/payment/hpp-form.html
+8
-7
No files found.
view/frontend/web/template/payment/hpp-form.html
View file @
4a240381
...
...
@@ -71,7 +71,7 @@
<!-- ko if: isPaymentMethodOpenInvoiceMethod() -->
<!-- ko if: showGender() -->
<div
class=
"field gender type required"
>
<label
data-bind=
"attr: {for: getCode() + '_gender_type
'
}"
class=
"label"
>
<label
data-bind=
"attr: {for: getCode() + '_gender_type
_' + value
}"
class=
"label"
>
<span>
<!-- ko text: $t('Gender')--><!-- /ko -->
</span>
</label>
<div
class=
"control"
>
...
...
@@ -91,7 +91,7 @@
<!-- ko if: showDob() -->
<div
class=
"field dob type required"
>
<label
data-bind=
"attr: {for: getCode() + '_dob
'
}"
class=
"label"
>
<label
data-bind=
"attr: {for: getCode() + '_dob
_' + value
}"
class=
"label"
>
<span>
<!-- ko text: $t('Date of Birth')--><!-- /ko -->
</span>
</label>
<div
class=
"control"
>
...
...
@@ -99,6 +99,7 @@
name=
"payment[dob]"
data-bind=
" datepicker: { storage: datepickerValue, options: { showOn: 'both', changeYear: true, yearRange: '-99:-1', defaultDate: '-20y' } },
attr: {
id: getCode() + '_dob_' + value,
title: $t('Date of Birth'),
'data-container': getCode() + '-dob'
},
...
...
@@ -111,7 +112,7 @@
<!-- ko if: showTelephone() -->
<div
class=
"field telephone type required"
>
<label
data-bind=
"attr: {for: getCode() + '_telephone
'
}"
class=
"label"
>
<label
data-bind=
"attr: {for: getCode() + '_telephone
_' + value
}"
class=
"label"
>
<span>
<!-- ko text: $t('Telephone')--><!-- /ko -->
</span>
</label>
<div
class=
"control"
>
...
...
@@ -119,9 +120,9 @@
name=
"payment[telephone]"
data-bind=
"
attr: {
id: getCode() + '_telephone
'
,
id: getCode() + '_telephone
_' + value
,
title: $t('Telephone'),
'data-container': getCode() + '-telephone
'
,
'data-container': getCode() + '-telephone
_' + value
,
'data-validate': JSON.stringify({'required-number':true})
},
value: telephone"
...
...
@@ -133,7 +134,7 @@
<!-- ko if: showSsn() -->
<div
class=
"field ssn type required"
>
<label
data-bind=
"attr: {for: getCode() + '_ssn
'
}"
class=
"label"
>
<label
data-bind=
"attr: {for: getCode() + '_ssn
_' + value
}"
class=
"label"
>
<span>
<!-- ko text: $t('Personal number (last digits)')--><!-- /ko -->
</span>
</label>
<div
class=
"control"
>
...
...
@@ -141,7 +142,7 @@
name=
"payment[ssn]"
data-bind=
"
attr: {
id: getCode() + '_ssn
'
,
id: getCode() + '_ssn
_' + value
,
title: $t('Social Security Number'),
'data-container': getCode() + '-ssn',
'data-validate': JSON.stringify({'required-number':true}),
...
...
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