Reply to Hidden field value displaying when the text contains double quotes

Your name:

Reply:


Posted by DennBen on 03/28/07 21:08

(I don't know if this is the correct forum - I'm not sure if the "alt"
in "alt.html" specifies a type of HTML if so please let me know)


I have a dozen or so hidden fields to a form and they are hidden as
they should be, unless the value I assign to them has double quotes,
then the whole value assigned that should be hidden, displays on the
form.

Has anyone encountered this/know why this is happening? I am using
ColdFusion MX7.


myVariable = '"Our values are the backbone of our business"<BR>"This
set of quotes will break it"'


<td width="150" valign="top">
<FORM ACTION="action.cfm?" METHOD="Post">
<INPUT TYPE="Hidden" NAME="Mission" VALUE="#myVariable#">
<input type="image" src="/images/buttons/btn_approve_profile.gif"
width="121" height="19" value="submit" alt="Approve Profile"
border="0">
</FORM>
</td>

Thanks!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация