Hi Mick,
So I guess I'll have to go back to the authors of Advanced
HTML Editor and
ask if it's possible to change the ", that the Advanced HTML
Editor
extension is automatically creating, to '.
I've been struggling to get a response from DMXZONE though
(e-mail or
forums).
If I remove that extension, and revert back to a plain text
area, and enter
something with quotes in the text, it doesn't wreck my hidden
form field and
seems to work. Is it just because the quotes are within an
HTML tag that
causes the problem?
Thanks.
Nath.
"Mick White" <himselfBOGUS@mickweb.com> wrote in
message
news:ethlpf$km3$1@forums.macromedia.com...
> tradmusic.com wrote:
>
>> Hi,
>>
>> I am using DMXZONE's Advanced HTML Editor with
ASP/VBScript.
>>
>> I have a form on a page which asks for some details,
and also has a Text
>> Area field to allow people to enter a message. This
message can contain
>> HTML, using the HTML editor to make text bold,
different colours etc -
>> nothing too fancy.
>>
>> I am initially submitting this to a confirmation
page which displays the
>> form field contents to allow a user to preview what
they've entered
>> before saving to database.
>>
>> I have created hidden form fields on the
confirmation page containing the
>> form field data submitted from the previous page to
use for my INSERT
>> behaviour, however the text area fields' data (which
contains the HTML)
>> is causing problems with my page in that the ""
entered in the HTML is
>> wrecking my form.
>>
>> Here is an example of the type of data this field
can contain:
>> <input name="giftmessage" type="hidden"
id="giftmessage" value="<p><font
>> face="Georgia"
color="#cc9933">Test</font></p>">
>>
>
> value="<p><font face='Georgia'
color='#cc9933'>Test</font></p>">
>
> Mick
>>