Skip to content

Commit e577ddf

Browse files
Arknistaabm
authored andcommitted
Documentation: move creditcard method to the list of addons
1 parent c3da0a2 commit e577ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ A set of standard validation methods is provided:
122122
* [`dateISO` - Makes the element require an ISO date.](/dateISO-method)
123123
* [`number` - Makes the element require a decimal number.](/number-method)
124124
* [`digits` - Makes the element require digits only.](/digits-method)
125-
* [`creditcard` - Makes the element require a credit card number.](/creditcard-method)
126125
* [`equalTo` - Requires the element to be the same as another one](/equalTo-method)
127126

128127
Some more methods are provided as add-ons, and are currently included in additional-methods.js in the download package. Not all of them are documented here:
129128

130129
* [`accept` - Makes a file upload accept only specified mime-types.](/accept-method)
130+
* [`creditcard` - Makes the element require a credit card number.](/creditcard-method)
131131
* [`extension` - Makes the element require a certain file extension.](/extension-method)
132132
* [`phoneUS` - Validate for valid US phone number.](/phoneUS-method)
133133
* [`require_from_group` - Ensures a given number of fields in a group are complete.](/require_from_group-method)

0 commit comments

Comments
 (0)