-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Validation list #9356
Validation list #9356
Conversation
Wow! Amazing effort here! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a brilliant piece of work!
Please correct as many changes by accepting the suggestion on the repo itself. Please DO NOT correct locally and then push a new commit - this is because it will be really difficult to check all the updates requested have been done as there are over 60.
You also need to do the following -
- Add this new file to the TOC file - src/_data/toc - around line 189 - currently there is no way to get to your new page
- Add a SYMLINK to the new file in the src/guides/2.4 area
Please also fill in the PR description as requested by the WIKI - this is very important.
Well Done!
|
||
### validate-state | ||
|
||
It checks for a valid state. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What type of state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Co-authored-by: Barny Shergold <bshergold@adobe.com>
Symlink added Edits added
@BarnyShergold done, please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome turnround speed!
I've made one correction and a suggestion to improve clarity and then it's good to go to
@dobooth - might be worth a second reviewer as there is so much - I may have missed something.
But this is an awesome addition.
</form> | ||
``` | ||
|
||
Field `field-5` holds a credit card type, possible values are: `SO`, `SM`, `VI`, `MC`, `AE`, `DI`, `JCB`, `DN`, `UN`, `MI`, `MD`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As there are so many and some are not obvious - I'd recommend turning this list into a small table and defining what each of the 2 letter codes are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Co-authored-by: Barny Shergold <bshergold@adobe.com>
@BarnyShergold |
@magento import code to magento-devdocs/devdocs |
@dobooth the branch with the code is successfully imported into the |
All available form validation rules sorted alphabetically.
Purpose of this pull request
This PR adds a form validation rule list.
Fixes #8951
whatsnew
Added a remarkable Validation rule list to the Frontend Developer's Guide.