Textarea in WML

Textarea in WML SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » Textarea in WML « Previous || Next »
Author Message
Enrique Samson Jr.
New member
Username: Nonoy

Post Number: 1
Registered: 08-2005
Posted on Wednesday, August 24, 2005 - 11:26 am:   

I can't find a documentation on the textarea tag used in WML. But this script works:

<card id="wap_form" title="Send Message">
Number: <input name="sms_no" size="11" maxlength="11"/><br/>
Message: <textarea name="msg" cols="20" rows="6"></textarea>
<do type="text" label="Go">
<go method="get" href="#wap_2_db">
echo ("<postfield name=\"sms_no\" value=\"$(sms_no)\"/>");
echo ("<postfield name=\"msg\" value=\"$(msg)\"/>");

The problem is $msg, the value of the textarea doesn't get posted. I hope somebody can help.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4831
Registered: 10-2002
Posted on Thursday, September 01, 2005 - 04:13 pm:   

Hi Enrique,

This is the support forum for the Now SMS/MMS Gateway product, so there is not much I can do to help you.

However, I can tell you that there is no "textarea" element in WML 1.x.

There is a "textarea" element defined in WML 2.0 ... but WML 2.0 support is "optional" for WAP 2.0 devices ... so while some WAP 2.0 devices might support WML 2.0, I would not expect all devices to support it. By contrast, all WAP 2.0 devices do have to support XHTML Basic, so if you wanted to limit yourself only to WAP 2.0 devices, you'd be better off using XHTML Basic instead.

I'd recommend you stick to WML 1.x, and use an "input" field instead, even though it doesn't allow you to specify multiple rows.


Login Login / Register Logout Logout Search Last 30 Days Topics Topics