Hidden text area on form

W

Wayne-I-M

Hi all

I can place a hidden text field on a form like this
<input type="hidden" name="Something" size="48" style="font-family: Arial;
font-size: 10pt" value="<% Response.Write strSomething %>"></font></td>

But is it possible to also hide a text area (I can't find anywhere to put
input type="hidden")

<textarea rows="10" name="SomethingElse" cols="66" style="font-family:
Arial; font-size: 10pt"><% Response.Write strSomethingElse
%></textarea></font></td>

Thanks
 
R

Ronx

No
<input type="hidden" ... > is a specific kind of form field - namely a
hidden field.

You can hide a text area by making it not display.

<td>
<textarea style="display:none;" rows="10" name="SomethingElse"
cols="66"><% Response.Write strSomethingElse %></textarea>
& n b s p ; </td>

Since the text area is hidden, there is no need to style fonts etc.
Same applies to hidden fields.
The & n b s p ; (spaces between characters added to avoid display
problems) is to prevent the table cell collapsing, since it would
otherwise behave as an empty cell.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/
 
W

Wayne-I-M

Thank you for the answer - really good as always

--
Wayne
Manchester, England.



Ronx said:
No
<input type="hidden" ... > is a specific kind of form field - namely a
hidden field.

You can hide a text area by making it not display.

<td>
<textarea style="display:none;" rows="10" name="SomethingElse"
cols="66"><% Response.Write strSomethingElse %></textarea>
& n b s p ; </td>

Since the text area is hidden, there is no need to style fonts etc.
Same applies to hidden fields.
The & n b s p ; (spaces between characters added to avoid display
problems) is to prevent the table cell collapsing, since it would
otherwise behave as an empty cell.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/
 
S

Stefan B Rusynko

Really not necessary to use a style hidden textarea at all
(and for users w/ CSS turned off it will show and can be edited!)
- only difference between a textarea tag and an input tag is the # lines showing and the scroll bars
(the content is not relevant)
- since a hidden field needs neither just use a normal hidden field

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| No
| <input type="hidden" ... > is a specific kind of form field - namely a
| hidden field.
|
| You can hide a text area by making it not display.
|
| <td>
| <textarea style="display:none;" rows="10" name="SomethingElse"
| cols="66"><% Response.Write strSomethingElse %></textarea>
| & n b s p ; </td>
|
| Since the text area is hidden, there is no need to style fonts etc.
| Same applies to hidden fields.
| The & n b s p ; (spaces between characters added to avoid display
| problems) is to prevent the table cell collapsing, since it would
| otherwise behave as an empty cell.
| --
| Ron Symonds - Microsoft MVP (FrontPage)
| Reply only to group - emails will be deleted unread.
|
| http://www.rxs-enterprises.org/fp
|
| FrontPage Support: http://www.frontpagemvps.com/
|
|
|
|
| |
| > Hi all
| >
| > I can place a hidden text field on a form like this
| > <input type="hidden" name="Something" size="48" style="font-family: Arial;
| > font-size: 10pt" value="<% Response.Write strSomething %>"></font></td>
| >
| > But is it possible to also hide a text area (I can't find anywhere to put
| > input type="hidden")
| >
| > <textarea rows="10" name="SomethingElse" cols="66" style="font-family:
| > Arial; font-size: 10pt"><% Response.Write strSomethingElse
| > %></textarea></font></td>
| >
| > Thanks
| >
| > --
| > Wayne
| > Manchester, England.
|
 
L

louie

I am knew to groups and cannot post a New Thread. Only the "Reply" box comes
up. The "New" will not open. Can you tell me what to do please.

Ronx said:
No
<input type="hidden" ... > is a specific kind of form field - namely a
hidden field.

You can hide a text area by making it not display.

<td>
<textarea style="display:none;" rows="10" name="SomethingElse"
cols="66"><% Response.Write strSomethingElse %></textarea>
& n b s p ; </td>

Since the text area is hidden, there is no need to style fonts etc.
Same applies to hidden fields.
The & n b s p ; (spaces between characters added to avoid display
problems) is to prevent the table cell collapsing, since it would
otherwise behave as an empty cell.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/
 
T

Tom [Pepper] Willett

Don't use the clunky web interface. Set up Outlook Express as your NNTP
newsreader.
--
Tom [Pepper] Willett
"You're a daisy if you do!"
----
:I am knew to groups and cannot post a New Thread. Only the "Reply" box
comes
: up. The "New" will not open. Can you tell me what to do please.
:
: "Ronx" wrote:
:
: > No
: > <input type="hidden" ... > is a specific kind of form field - namely a
: > hidden field.
: >
: > You can hide a text area by making it not display.
: >
: > <td>
: > <textarea style="display:none;" rows="10" name="SomethingElse"
: > cols="66"><% Response.Write strSomethingElse %></textarea>
: > & n b s p ; </td>
: >
: > Since the text area is hidden, there is no need to style fonts etc.
: > Same applies to hidden fields.
: > The & n b s p ; (spaces between characters added to avoid display
: > problems) is to prevent the table cell collapsing, since it would
: > otherwise behave as an empty cell.
: > --
: > Ron Symonds - Microsoft MVP (FrontPage)
: > Reply only to group - emails will be deleted unread.
: >
: > http://www.rxs-enterprises.org/fp
: >
: > FrontPage Support: http://www.frontpagemvps.com/
: >
: >
: >
: >
: > : >
: > > Hi all
: > >
: > > I can place a hidden text field on a form like this
: > > <input type="hidden" name="Something" size="48" style="font-family:
Arial;
: > > font-size: 10pt" value="<% Response.Write strSomething
%>"></font></td>
: > >
: > > But is it possible to also hide a text area (I can't find anywhere to
put
: > > input type="hidden")
: > >
: > > <textarea rows="10" name="SomethingElse" cols="66" style="font-family:
: > > Arial; font-size: 10pt"><% Response.Write strSomethingElse
: > > %></textarea></font></td>
: > >
: > > Thanks
: > >
: > > --
: > > Wayne
: > > Manchester, England.
: >
: >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top