Skip to content

Documentation: move creditcard method to the list of addons #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ A set of standard validation methods is provided:
* [`dateISO` - Makes the element require an ISO date.](/dateISO-method)
* [`number` - Makes the element require a decimal number.](/number-method)
* [`digits` - Makes the element require digits only.](/digits-method)
* [`creditcard` - Makes the element require a credit card number.](/creditcard-method)
* [`equalTo` - Requires the element to be the same as another one](/equalTo-method)

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:

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