Discussion Board
Submit button not visible on display
2004-03-29, 15:47
#1
Registered User
I have a small XHTML-application, where I want to enter a code in a FORM and pass it to an ASP page by pressing a SUBMIT button (input type="submit"). If I use an Openwave WAP emulator, I am able to see the button and activate it. Likewise if I use an Alcatel OneTouch 735 phone. The button is visible! But if I use a Nokia 8310, there is no button on the display, and to submit the form I will have to open the Options Menu and select the submit button there. What do I do wrong ??? My XHTML is as follows:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da">
<head>
<title>Viborg</title>
</head>
<body>
<form action="blod11.asp" method="get">
Indtast kode:<br />
<input type='text' name='logon' id='logon' size='8' maxlength='8' value='' /><br />
<input type="submit" value="Afsend" />
</form>
</body>
Registered User
A few questions:
As far as I know Nokia phones mostly support XHTML Mobile Profile. So maybe your DOCTYPE have to be changed to something like:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
Another problem might be the text lines directly appended to the form element. Try to put them into a <p>.
You might want to try this:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da">
<head>
<title>Viborg</title>
</head>
<body>
<form action="blod11.asp" method="get">
<p>
Indtast kode:<br />
<input type='text' name='logon' id='logon' size='8' maxlength='8' value='' /><br />
<input type="submit" value="Afsend" />
</p>
</form>
</body>
</html>
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules