android - Text input field doesn't work on smartphone -


i'm developing application in html5 i'll turn in android app (using webview) via ludei framework. have php page, hosted on website, part of app. created link sidebar menu of app shows page.

when try write in text field of php page, can type numbers not letters. if try open same page smartphone browser, works great without errors!

what can do!? problem of app...

i tried using form style, , include php page iframe, still doesn't work... doesn't differences between text input field, e-mail input field, url input field... shows classic querty...

thanks in advice =)

code of php page:

<!doctype html>  <html xmlns="http://www.w3.org/1999/xhtml">  <head>      <meta http-equiv="content-type" content="text/html; charset=utf-8" />  	<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0" />  	<meta name="apple-mobile-web-app-capable" content="yes" />    	  	<title>royalradio framework</title>        	<link rel="stylesheet" href="../css/normalize.css" type="text/css" media="screen">      <link rel="stylesheet" href="../css/main.css" type="text/css" media="screen">        	<!-- color scheme -->      <link rel="stylesheet" href="../css/color.css" type="text/css" media="screen">  </head>  <body>   	  		  		<div class="st-pusher">  			<div class="st-content">  				<div class="st-content-inner">  					<!-- top navigation -->  					<header>  						<h1>royal radio</h1>  					</header>  					  					<br /><br />  					<div class="content">  						<fieldset>  							<legend align="center">contattaci</legend>  							  <?php  /** includiamo la class phpmailer */  include_once('contattaci/phpmailer.class.php');    /**la vostra e-mail, in cui ricevere l'email */  $email_sito = 'direzione@royalradio.it';    /**il nome del vostro sito web */  $nome_sito = 'royalradio.it';    /** recuperiamo dati */  $nome = $_request['nome'];  $cognome = $_request['cognome'];  $email = $_request['email'];  $telefono = $_request['telefono'];  $sito = $_request['sito'];  $messaggio = $_request['messaggio'];  $ip = $_server['remote_addr'];    //controlliamo campi obbligatori  if(empty($nome) || empty($cognome) || empty($email) || empty($telefono) || empty($messaggio)) {      echo '<p class="error">compila tutti campi</p>';  } else {    $msg = "<strong>ip:</strong> $ip <br />";  $msg .= "<strong>nome:</strong> $nome <br />";  $msg .= "<strong>cognome:</strong> $cognome <br />";  $msg .= "<strong>e-mail:</strong> $email <br />";  $msg .= "<strong>telefono:</strong> $telefono <br />";  $msg .= "<strong>sito web:</strong> $sito <br />";  $msg .= "<strong>messaggio:</strong> $messaggio <br />";    /** istanziamo la classe phpmailer */  $mail = new phpmailer();  $mail->from = $email;  $mail->fromname = ''.$nome.' '.$cognome.'';  $mail->addaddress($email_sito);  $mail->ishtml(true);  $mail->charset = 'utf-8';  $mail->subject = 'nuova e-mail da '.$nome_sito;  $mail->body = $msg;  if($mail->send()) echo "<p><b><center><font color=green><==> la tua e-mail &egrave; stata inviata <==></font></center></b><p>";    }  ?>  							<form action="contattaci.php" method="post" id="formilc">  								<input type="text" name="nome" id="nome" placeholder="nome*"/>  								<input type="text" name="cognome" id="cognome" placeholder="cognome*"/>  								<input type="email" name="email" id="email" placeholder="e-mail*"/>  								<input type="tel" name="telefono" id="telefono" placeholder="telefono*"/>  								<input type="url" name="sito" id="sito" placeholder="sito web"/>  								<textarea name="messaggio" id="messaggio" placeholder="messaggio"></textarea>  								<input type="submit" name='submit' class="button" value="invia il messaggio"/>  							</form>  							<br /><br />  							<center><em><strong>quando hai terminato, premi il tasto "indietro" per tornare all'app.</strong></em></center>  						</fieldset>  					</div>    				</div><!-- /st-content-inner -->  			</div><!-- /st-content -->  		</div><!-- /st-pusher -->  	</div><!-- /st-container -->    	  	<script src="../js/lib/jquery-1.10.2.min.js"></script>  	  	<script src="../js/lib/classie.js"></script>  	<script src="../js/lib/sidebareffects.js"></script>  	<script src="../js/custom.js"></script>  </body>  </html>


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -