|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
wml 1.1 textarea?
hi all
i'm trying to put a textarea in my wml page but it is saying undefined element so i'm guessing they are not supported for wml 1.1 is there anything other than a text input field that i can use? thanks dave |
|
#2
|
||||
|
||||
|
could you post the code you are trying to use and a link to the file.
|
|
#3
|
|||
|
|||
|
sorry can't link to the file
but i can paste the code Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<template>
<do type="prev" name="Prev" label="Prev">
<prev ></prev>
</do>
</template>
<card id="c1" title="site message">
<p></p>
<p><br /> MESSAGE FROM nick<br />DATE: 12:20am Fri 22/07/05<br />MSG:<br />hehe good to
know<br />
</p>
<p>REPLY:<br />
<textarea name="sendMessage" title="send message" cols="10" rows="5"></textarea>
</p>
<p> <anchor>REPLY
<go href="/messages/message-show.php" method="post"> <postfield name="userID"
value="68487" />
<postfield name="submitted" value="1" /> <postfield name="newID" value="94510" />
<postfield name="msgID" value="" /> <postfield name="action" value="reply" />
<postfield name="sendMessage" value="$(sendMessage)" />
</go>
</anchor>
</p>
<p> <anchor>DELETE
<go href="/messages/message-show.php" method="post">
<postfield name="userID" value="68487" />
<postfield name="submitted" value="1" />
<postfield name="newID" value="94510" />
<postfield name="msgID" value="" /> <postfield name="action" value="delete" />
</go>
</anchor>
</p>
<p><br /><br /><a href="/votes/votes-last.php?userID=68487">My Votes</a><br />
<a href="/messages/inbox.php?userID=68487">My Messages</a><br />
<a href="/online/online.php?userID=68487">Who's Online?</a><br />
<a href="/account/accountDetails.php?userID=68487">My Profile Info</a><br />
<a href="/help/help.php?userID=68487">Help</a><br />
<a href="/index.php?userID=68487"> Home</a>
</p></card>
</wml>
it says undefined element textarea no attribute or name, title, cols, rows thanks dave |
|
#4
|
||||
|
||||
|
Well, you can't .
You have to use Code:
<input title="sendMessage" name="sendMessage" /> Check out w3schools for valid input tags.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#5
|
|||
|
|||
|
thanks
http://www.w3schools.com/wap/wml_input.asp went there, so i don't have checkbox options either then? |
|
#6
|
||||
|
||||
|
What you do have is a <select> tag. On of the attributes you can set is "multiple" which will behave like a check box list, but will be implemented differently on different browsers.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > wml 1.1 textarea? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|