hiddenfields

message from two can's on 23 Jul 2004
Hi yea,
I was wondering the value of a hidden field can it be html, if so is there a
maximum amount of charactors that the value can be.

regards

twocan's
 
Alan replied to two can's on 23 Jul 2004
you can't put tags inside of a textarea.

You could use scripting to encode < to < and decode it later.

if using Post method i'm not away of a practical limit.
 
two can's replied to Alan on 23 Jul 2004
Hi yea,
thanks Alan, I have been just testing and find I can put tags inside a
hidden field if I get ride of the " " and replace them with ' ' . mind
you I have only checked that while using IE6.

as for placing html inside a textarea I managed to do that fine using the
free html editor from http://www.interactivetools.com

regards

twocan's

"Alan" <dont_mail_me_period@macromedia.com> wrote in message
news:BD26D0F7.1A4FD6%dont_mail_me_period@macromedia.com...
 
darrel replied to two can's on 23 Jul 2004
That would be invalid code. You can not use < or > in a value field. You'll
have to escape them or use different characters and parse it on the server
side.

-Darrel
 
two can's replied to darrel on 23 Jul 2004
it appears to be working fine.

regards

twocan's

"darrel" <notreal@hotmail.com> wrote in message
news:cdrnvm$589$1@forums.macromedia.com...
 
darrel replied to two can's on 23 Jul 2004
Most likely because IE6 isn't a very standards compliant browser. ;o)

Well, it's up to you, but if it's invalid markup, you're at the risk of it
breaking at somepoint down the road when the browser decides to ignore
invalid markup.

-Darrel
 

Archived message: hiddenfields (Macromedia Dreamweaver)