Posted by ph3n0m 3 years 10 weeks ago
Hi all
I am using the following code in my page
<div><input type="text" name="status"/><br/> <input type="image" src="images/update_status2.gif" name="send" value="submit"/> <input type="image" src="images/clear.gif" name="clear" value="reset"/> </div>
However when I run the page through ready.mobi, I get a validation error of type
Quote:
Attribute "type" with value "image" must have a value from the list "text password checkbox radio submit reset hidden ".
However as evident from the code above, the value is declared for both of them - any ideas what the issue is. I have confirmed it is definitely these two lines, as once I remove them from the source, the page validates perfectly




Posted by ruadhan 3 years ago
Mobile Champion
Hmmm, apparently type="image" is not a valid XHTML MP attribute...
Ruadhan O'DonoghuedotMobi
Posted by ph3n0m 3 years ago
Ah the ready.mobi error message is incorrect, I believe it should read
Atleast that reads a tad better
Posted by ruadhan 3 years ago
Mobile Champion
Yes, that's what it's trying to say. Can you achieve what you want with a bit of CSS, falling back to standard button rendering on devices where the CSS is not supported?
Ruadhan O'DonoghuedotMobi