Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
don_miguel
Posts: 18
Registered: ‎12-20-2010
My Device: bold
My Carrier: webmaster
Accepted Solution

Calendar widget

Hi,

 

I was wondering if you can open a mini calendar on a widget and then when the user click a day, recuperate the value in js like the example in the bottom ?

 

calendrier.png

 

Thanks for the support.

 

Michel

Please use plain text.
Contributor
don_miguel
Posts: 18
Registered: ‎12-20-2010
My Device: bold
My Carrier: webmaster

Re: Calendar widget

solved !

I used input type="date" for this purpose...

 

Please use plain text.
Contributor
khafra
Posts: 16
Registered: ‎05-17-2011
My Device: 9700
My Carrier: Bmobile

Re: Calendar widget

Can you tell me what code you are using to generate the date picker? i can't seem to get it to appear in my webworks application, all i see is the empty input box, no spinning date selector!
Please use plain text.
Contributor
don_miguel
Posts: 18
Registered: ‎12-20-2010
My Device: bold
My Carrier: webmaster

Re: Calendar widget

Hi,

 

I used in my form the date input :

 

<form name="form1">
<input id="meeting" type="date" value="2011-01-13"/>
</form>

 

Hope it helps ;-)

Please use plain text.
Contributor
khafra
Posts: 16
Registered: ‎05-17-2011
My Device: 9700
My Carrier: Bmobile

Re: Calendar widget

I'm using the type="date" input attribute, however the date picker never displays for me. All i'm getting is an input box in which i am forced to manually enter a date.

 

I'm testing both with OS6 and OS5

 

if i bring the page up in the browser, the date picker works, if the webworks application - it does not work. I'm not sure if i'm leaving out something configuration-wise in the webworks app that is causing a problem.

Please use plain text.
Contributor
khafra
Posts: 16
Registered: ‎05-17-2011
My Device: 9700
My Carrier: Bmobile

Re: Calendar widget

I'm realising now that the issue i am seeing is that the HTML5 date selector does not work for me if i have trackpad navigation enabled - if i disable it, it works.
Please use plain text.