0

Want to add validation message at right side of the calender/datebox

asked 2012-05-29 11:29:15 +0800

javaenthu gravatar image javaenthu
141 2

updated 2012-05-29 11:36:16 +0800

Hi all,
I saw calender /datebox component in the demo. I want a similar one for my task.
If the date/time is not in the correct format the component gives the error message when it goes out of focus
How can i achieve this?

Thanks in advance.

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2012-05-29 11:49:41 +0800

MontyPan gravatar image MontyPan
435 3
http://xitop.blogspot.com...

Sorry... I am not sure what you question.

"datebox" will give error message when lose focus and input format is not correct. The demo you post can test this feature.
If you need more detail information about "datebox", please read this document.

Regards,
Monty Pan

link publish delete flag offensive edit

answered 2012-05-29 12:07:28 +0800

javaenthu gravatar image javaenthu
141 2

Oh Monty , just my mistake.
We are not using date box.
we have created a popup in calender and we are using it.

code is something like this

<calendar id="myDate" />
<timebox id="myDate1" format="HH:mm" constraint="no empty" />

Any idea?

link publish delete flag offensive edit

answered 2012-05-29 12:22:53 +0800

MontyPan gravatar image MontyPan
435 3
http://xitop.blogspot.com...

Sorry again... I still can't understand your question......

"timebox" has similar function with error format. The result of the code you post, user can't input invalid value.
So, can you provide more detail information or requirement?

Regards,
Monty Pan

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: 2012-05-29 11:29:15 +0800

Seen: 243 times

Last updated: May 29 '12

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