SID-02093: Textarea
| Status: |
Answered |
TWiki version: |
6.0.1 |
Perl version: |
5.18 |
| Category: |
FormPlugin |
Server OS: |
Linux Ubuntu |
Last update: |
10 years ago |
I am trying to build an application and the form has several textarea fields. I can not get anything to show up with a multi line field. Even when I take the default and put nothing in the size I see only one line rather than the 40x5 default.
--
John Belbute - 2015-08-03
Discussion and Answer
Not sure what is wrong. I created this test form and it works as expected:
%STARTFORM{
name="test"
action="view"
}%
%FORMELEMENT{
name="textarea1"
type="textarea"
title="Textarea 1:"
rows="5"
cols="80"
value="%URLPARAM{ "textarea1" encode="html" }%"
}%
%FORMELEMENT{
name="textarea2"
type="textarea"
title="Textarea 2:"
rows="5"
cols="80"
value="%URLPARAM{ "textarea2" encode="html" }%"
}%
%FORMELEMENT{
name="action"
type="submit"
default="Submit"
}%
%ENDFORM%
--
Peter Thoeny - 2015-08-04
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
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.