EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jimmywon on January 26, 2014, 01:07:47 AM



Title: If possible to format validatebox text?
Post by: jimmywon on January 26, 2014, 01:07:47 AM
As subject

Example, this validatebox text is 20140126,
can I format to 2014/01/26?

JIMMY


Title: Re: If possible to format validatebox text?
Post by: stworthy on January 26, 2014, 07:37:27 PM
You can't use validatebox to format its value. Please use datebox instead.


Title: Re: If possible to format validatebox text?
Post by: jimmywon on January 26, 2014, 07:48:30 PM
but,

sometime, I like to format telephone 0223653376 to  (02)2365-3376,
how to do this?

Jimmy


Title: Re: If possible to format validatebox text?
Post by: stworthy on January 28, 2014, 06:49:37 AM
The validatebox has no formatter function. You may need to use other mask input plugin.