| Post |
|
Guest
| Bill 9:09 am September 3, 2008
| |
|
|
Please replace the ??? with your data!
- Your URL: http://seoxp.net
- The browser used: FireFox
- cforms version: 8.7
- Your WordPress version: 2.6
[desc]:I would like to know on the multiple lines of text box is there a way to add a min amount of words or characters? some like the max
max. # of 150 characters|^[\\s\\S]{1,170}$
I would like to allow a min of 80 words or 260 characters and exclude http:// _
|
|
|
Admin
| Oliver Munich, Germany posts 6006 9:14 pm September 3, 2008
| |
|
|
sure, see the FAQs, I think there is an example in there. anything you can do with regular expressions, you can tell cforms to do the same.
|
|
|
|
|
Guest
| Bill 7:48 am September 4, 2008
| |
|
|
There lies the problem I got the max expression from the faqs area I did not see a minimum. I did search of the forums and got nothing on it either. Doing a google search did not reveal anything that I understood.
So if possible could someone please write the expression and post it here? Then it will be here for other users looking for the function on there site.
|
|
|
Admin
| Oliver Munich, Germany posts 6006 7:59 am September 4, 2008
| |
|
|
|
|
Guest
| Bill 8:43 am September 4, 2008
| |
|
|
Thank you works good changed it to ^[\\s\\S]{250,1000}$ hoping it would give a minimum of 250 characters and a max of 1000 gave me a minimum of 246 though it may not be counting the same as javascriptkit.com/script/script2/charcount.shtml in anycase works perfect for application
Looking at the answer I see it was a really dumb question :( I thought
max. # of 150 characters|
was part of the expression. Sigh see what I know
thank you
|
|