Advanced HTML Editor Support Product Page
This topic is locked
This topic was archived
Preview data before submit
Asked 09 Mar 2004 18:35:02
1
has this question
09 Mar 2004 18:35:02 Brett Atkin posted:
I can get this to write to db no problem (first try even), but I would like to be able to make the posting process include a "preview" feature. I'm sure this is just my inexperience with the ASP request object, but here is what I'm attempting. I want a 3 step posting process.
Page 1 - complete the form, which includes the HTML editor - hit submit
Page 2 - Resulting page gives a preview of the previous page's form contents - confirm submit
Page 3 - Confirmation page
Problem: I'm requesting the form contents on Page 2, but I keep getting the following error:
Request object, ASP 0102 (0x80004005) - The function expects a string as input.
This is what it is doing to the contents of the HTML editor:
=%3Cp%3E%26nbsp%3Badfadfadfafdasfdafaf%3C%2Fp%3E%0D%0A%3Cp%3E%26nbsp%3B%3C%2Fp%3E%
Any ideas? I want a preview function just like this Forum has.
Thanks.
Replies
Replied 15 Mar 2004 18:21:59
15 Mar 2004 18:21:59 Patrick Woldberg replied:
Looks like it is html encoded, but that should not matter
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 16 Mar 2004 03:57:16
16 Mar 2004 03:57:16 Brett Atkin replied:
I figured it out, I'm a dumb#$@. Nothing special, I just didn't type the request.form code correctly....
Thanks.
Brett
Thanks.
Brett
Replied 18 Mar 2004 22:24:18
18 Mar 2004 22:24:18 George Petrov replied:
yes it happens <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFocus.nl
--------------------------------------------------
George
--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFocus.nl
--------------------------------------------------

