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

BlackBerry® Curve™

Reply
New Contributor
Posts: 2
Registered: ‎10-07-2012
My Device: curve
My Carrier: vodafon
Accepted Solution

can't type on a textinput in my phonegap app

[ Edited ]

Hi All,

 

i have developed a blackberry phonegap all is working fine but i can't type on the textboxes what could i be doing wrong below is the sample login form. The button is responding well but when i focus on the textbox the keypad does not respond this behaviour occurs both on simulator and a blackberry curve. Am using html 5. Will appreaciate your help on this before am chased by the client.

 

<div data-role="page" id="julius" >

            <div data-role="header" data-theme="a">
                <h3 style="text-align:left; margin-left:10px;">julius</h3>
                <!--<h3></h3>-->
            </div><!-- /header -->
            <div data-role="content">
                <p id="output" style="color:red"></p>
              
                <form method="post" id="loginForm">
                       <div data-role="fieldcontain" >
                        <label for="username">Username:</label><br>
                        <input type="text" name="username" id="username" value="" placeholder="Username" />
                    </div>

                    <div data-role="fieldcontain" >
                        <label for="password">Password:</label><br>
                        <input type="password" name="password" id="password" value="" placeholder="Password" />
                    </div>
               
                    <input type="submit" value="Login" id="submitButton" data-icon="info">
                </form>

            </div><!-- /content -->

            <div data-role="footer">
                <h6 style="text-align:left; margin-left:10px;">&copy;juliusAll rights reserved</h6>
            </div><!-- /header -->
        </div><!--

New Contributor
Posts: 2
Registered: ‎10-07-2012
My Device: curve
My Carrier: vodafon

Re: can't type on a textinput in my phonegap app

sorted the issue,the problem was in my css.

 

regards,

julius.