1

textbox with input mask

asked 2007-01-12 04:50:04 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4098849

By: xsiwa2002

I want to set datainput to textbox by some pattern,like a input mask "9-999-999-9", how can i do ? thanks.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2007-01-12 06:29:29 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4098944

By: henrichen

There is currently no such support in ZK's textbox. The user can do this in application level, though. onChange and format the Textbox value and set it back.

/henri


link publish delete flag offensive edit

answered 2010-11-07 20:45:48 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

like this ?? http://www.zkoss.org/zkdemo/effects/form_effect

link publish delete flag offensive edit

answered 2014-02-11 12:07:22 +0800

pasqualeleone gravatar image pasqualeleone flag of Italy
81 2

updated 2014-02-11 12:08:00 +0800

this example is interesting, but in Birthday field input i can insert invalid data as 86/65/xxxx. There is a method to avoid this bug? thank you Pasquale

link publish delete flag offensive edit

answered 2014-02-11 12:32:39 +0800

MVarun gravatar image MVarun flag of India
268 1 6

Hi Pasquale, Check this link..

Greetings..!!

M Varun.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2007-01-12 04:50:04 +0800

Seen: 1,313 times

Last updated: Feb 11 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More