SID-01393: Use of textarea in a form
| Status: |
Answered |
TWiki version: |
4.0.5 |
Perl version: |
Unsure |
| Category: |
CategoryForms |
Server OS: |
Windows |
Last update: |
14 years ago |
Hi,
I want to add a multi line text field to a twiki form but the following renders just like my other input field i.e. presents like any other single line text entry field:-
<form name="new" action="%SCRIPTURLPATH{save}%/%WEB%/" method="post">
| Subject: |
<input type="text" name="Subject" value="" size="40" class="twikiInputField" /> |
| Description: |
<input type="textarea" name="Description" size="80x10" value="" class="twikiInputField" /> |
| |
<input type="submit" class="twikiSubmit" value="Create New Note" /> |
<input type="hidden" name="topicparent" value="NotesDB" />
<input type="hidden" name="templatetopic" value="NoteTemplate" />
<input type="hidden" name="onlynewtopic" value="on" />
<input type="hidden" name="onlywikiname" value="on" />
</form>
Thanks for any help that can be offered here.
--
ColinStapleton - 2012-02-03
Discussion and Answer
Hello
Check here,
http://www.w3schools.com/tags/tag_textarea.asp
--
EnriqueCadalso - 2012-02-03
Thanks Enrique I checked this out and have replaced the <input="textarea".../> field with a <textarea.../> and pleased to say that the problem has been resolved!
Thanks Colin
--
ColinStapleton - 2012-02-05
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.