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

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

Please use plain text.
Developer
squished18
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800

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.
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

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/

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
squished18
Posts: 289
Registered: ‎10-17-2008
My Device: Torch 9800

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.
Please use plain text.
Trusted Contributor
zahirw
Posts: 134
Registered: ‎04-15-2012
My Device: Bold 9900

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?
Please use plain text.