How to add a new Input Field Type?
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #19
RE: How to add a new Input Field Type?
(09-22-2015 09:29 AM)nier3 Wrote:  when I do preview thread or submit thread, it says Invalid value. It works only with Y/m/d Frown

Probably because of this:
(09-16-2015 10:25 PM)nier3 Wrote:  Text Mask Filter: Custom (regex) and write this: ^((?:19|20)\d\d)/(0?[1-9]|1[012])/(0?[1-9]|[12]\d|3[01])$

I use this Custom (regex) Text Mask Filter:

Code:
^(0?[1-9]|[12]\d|3[01])\-(0?[1-9]|1[012])\-((?:19|20)\d\d)$

It is based on the default XThreads Date (dd/mm/yyyy) Text Mask Filter.


09-23-2015 12:29 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: How to add a new Input Field Type? - RateU - 09-23-2015 12:29 AM

 Standard Tools
Forum Jump: