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

Already on GitHub? Sign in to your account

Small docs error in Form.Validator.md #1006

Closed
cigumo opened this Issue Aug 8, 2011 · 1 comment

Comments

Projects
None yet
2 participants

cigumo commented Aug 8, 2011

There is a small error in this doc page http://mootools.net/docs/more/Forms/Form.Validator#Validators:validate-currency-dollar

It seems that the example about validate-currency-dollar breaks the parser that generates the doc page.

Member

SergioCrisostomo commented May 1, 2014

This is the correct appearence. If you check the Github file you will find this in the source:

Validator: validate-currency-dollar {#Validators:validate-currency-dollar}
--------------------------------------------------------------------------

Validates that the entry matches any of the following:

* [$]1[\#\#][,\#\#\#]+[.\#\#]
* [$]1\#\#\#+[.\#\#]
* [$]0.\#\#
* [$].\#\#

Error Msg: "Please enter a valid $ amount. For example $100.00 ."

Thank you for commenting this. It might be that we need to be more clear that it should look like that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment