08-08-2012 02:07 AM
Hi,
We receive an HTML Approval form as an attachment in the email generated from the System for different transactions. In which approver can select the appropriate approval action and submit it. This approval form works perfectly in all the web browsers (that i have tested like IE-6,7,8,9,Firefox,Chrome) but not in blackberry browsers. When checked the source code of the HTML form, i found that it is using mailto function in the form to submit the approval response to the defined email id in mailto link. Based on that i have also developed a simple HTML form for testing purpose which is also behaving same as the Approval HTML form. Can anbody tell me where the things are going wrong. We are using Blackberry 8520 curve, OS 5. The same form works perfectly in Blackberry 9800 OS 6.
Below is the HTML code of sample form that i have developed:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<form action="mailto:testing@testing.com" method="post" name="emcForm" id="emcForm" enctype="multipart/form-data">
EMail: <input type="text" name="email">
Subject: <input type="text" name="subject">
Message: <textarea rows="5" cols="30" name="message"></textarea>
<input type="submit" value="send" />
</form>
</body>
</html>
Any help will be reallu appreciated.... Moreover.. I'm a PeopleSoft Developer so any help related with HTML will be helpful for me.
Regards,
Subhash
08-08-2012 02:37 AM
The simplest answer is that mailto action in forms in not supported in OS 5.0. This uri type is not mentioned in browser documentation. You can find HTML subset supported in 5.0 here:
http://docs.blackberry.com/en/developers/subcatego
Selecting OS as 5.0, it looks like the higher oses documentation has some issues and is unavailable.
08-08-2012 06:52 AM
08-08-2012 07:06 AM
08-08-2012 08:31 AM
Maybe. Try to use other mime types. I was guessing that support for mailto may be limited in oldest phone models, and they may not support sending forms as mails.