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
Trusted Contributor
Posts: 134
Registered: ‎04-15-2012
My Device: Bold 9900
My Carrier: Vodafone

Native dialog with multiple inputs

I wanted to know whether its possible to create dialog boxes natively with multiple input fields using pure javascript. I do know that the WW apis support dialog boxes with text and with drop down menus but is it possible to combine them?

 

Eg.

 

Your Name (textfield)

Sex (Radio Buttons)

Location (drop down menu)

Submit or Cancel

Developer
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800
My Carrier: Rogers

Re: Native dialog with multiple inputs

I too am interested in creating a dialog with a text entry field. Is there an easy way to do this?

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
BlackBerry Development Advisor
Posts: 762
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: Native dialog with multiple inputs

There are quite a few jQuery plugins out there to make a modal box with form elements.  Check-out jQueryUI, or even this one i've been looking at for a little while.

 

http://onehackoranother.com/projects/jquery/boxy/

Developer
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800
My Carrier: Rogers

Re: Native dialog with multiple inputs

Thanks chadtatro,

 

I got the JQueryUI plug-in dialog to do what I was looking for.

 

Cheers,

feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
Trusted Contributor
Posts: 134
Registered: ‎04-15-2012
My Device: Bold 9900
My Carrier: Vodafone

Re: Native dialog with multiple inputs

Is it possible to build a java based dialog/modal & then just include it in your ww app as an extension?