Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Issue with HTML forms & mobile users

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Archangel

randypendleton.comTop Member
Impact
1,775
I've never developed for mobile devices but found a need to tinker with it a tiny bit. I made a small form for a friend of mine so she could easily upload photos from her cell to my server. So I made a simple HTML upload form. It works perfectly in my browser (on a PC) but when she views the form on her cell, the 'browse' button doesn't work; it's dimmed. I use a cell for texting. I checked the site on my cell. Same issue. I know nothing about development for mobile users so I ask: Am I missing something? Is there a way to do this that I'm not aware of? Here is the code I'm using:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!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="en">
<head>
</head>

<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form action="upload_rename_ac.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td><strong>Single File Upload </strong></td>
</tr>
<tr>
<td>Select file
<input name="ufile" type="file" id="ufile" size="50" /></td>
</tr>
<tr>
<td align="center"><input type="submit" name="Submit" value="Upload" /></td>
</tr>
</table>
</td>
</form>
</tr>
</table>

</html>
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
As far as I was aware standard html like that worked fine on cells...so it could be dependant on what browser she is using?

What sort of phone does she have? She could probably download opera mini if it supported java and that uploads fine to my knowledge?
 
0
Close
Do you know what cell phone she was using?
 
0
Close
She has an iPhone using Safari. I use a Samsung (browser unknown; it's from StraightTalk). On both of our cells, the page and the submit button works but the upload button doesn't. It works perfect on my PC though.

Do you know what cell phone she was using?
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back