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

Regular Contributor
Posts: 63
Registered: ‎06-08-2012
My Device: BlackBerry
My Carrier: BlackBerry

How to calendar on webworks app (for playbook)

Hi everyone,


I am developing webworks app for playbook.

I have a issue:

 - I want to click a button to show calendar (maybe use <input type='date'/>, I don't want to use datepicker) and I select a date and after that the date displayed on a other lable.


See your response soon!



An Pham

Posts: 466
Registered: ‎04-11-2012
My Device: Bold 9900
My Carrier: Rogers

Re: How to calendar on webworks app (for playbook)

[ Edited ]

What about?


<input type="date" onvaluechange="changeVal(this.value)
<textarea id='labelName'></textarea>


you can then use javascript to modify the text in a label


function changeVal (date){

document.getElementById("labelName").value="New Value!";


Developer for easyDial for BlackBerry Bold & inLink for BlackBerry PlayBook
Find me online via twitter, or on the techfruits.com webpage. Please hit the like button below if what I said helped!