Tags:
create new tag
view all tags

SID-01393: Use of textarea in a form

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Use of textarea in a form
SupportCategory CategoryForms
TWiki version 4.0.5
Server OS Windows
Web server TinyWeb
Perl version Unsure
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-05 - ColinStapleton
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.