Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Add support for field format validation #17

Closed
iamEAP opened this issue Sep 16, 2014 · 0 comments
Closed

Add support for field format validation #17

iamEAP opened this issue Sep 16, 2014 · 0 comments
Milestone

Comments

@iamEAP
Copy link
Contributor

iamEAP commented Sep 16, 2014

The 1.x addressfield.json configuration schema provides for a "format" property on field configuration objects, representing a regex pattern for validation:

{
  "label": "State",
  "options": [],
  "format": "^[a-zA-Z]{2}$"
}

We should provide (optional) integration with a form validation framework based on any provided values. Probably https://github.com/jzaefferer/jquery-validation.

@iamEAP iamEAP added this to the 1.0 milestone Sep 16, 2014
@iamEAP iamEAP closed this as completed in 8212429 Sep 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant