Do you have some feature in mind that you'd love to see in Couch? Let us know.
4 posts Page 1 of 1
can we also get some new validators too, one for urls would be handy to make sure that illegal characters are not included …

I know I can do it using regex, but I personally hate writing those things and usually get them wrong …

validator='regex=(^(https?|ftp)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]")'

would love to be able to say validator='url'
There are 10 types of people in this world ... Those who can count in binary and …
a telephone number validator that recognises (,),0,1,2,3,4,5,6,7,8,9, ,-,+ would probably also be a useful feature?
There are 10 types of people in this world ... Those who can count in binary and …
would love to be able to say validator='url'
I think you did not notice but one can do exactly that with v1.4 :)
It has a validator for URLs
Code: Select all
<cms:editable name='portfolio' validator='url' type='text' />


a telephone number validator that recognises ..

Telephone numbers really vary around the world so is difficult to get a generic validator for it.
That said, one can always use the 'regex' validator to create whatever pattern is desired.
Is there updated documentation for 1.4RC?

I don't know how I missed that and I wonder what else I missed ...
There are 10 types of people in this world ... Those who can count in binary and …
4 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest

cron