DWT prevents proper database post?

DWT prevents proper database post?

Post by D. » Sat, 31 Jul 2004 08:45:33


I've developed a form used to collect contact information
before allowing site visitors to download files. The
form
( http://www.yqcomputer.com/ )
collects the data, posts to an access database, then
passes the form data to a confirmation page.

When I attach my Dynamic Web Templates the posting
functionality is eliminated. An example of the same
library_request.asp file after it has attached can be
found here:
http://www.yqcomputer.com/
(1).asp

Any ideas why the DWT is causing this?

Thanks for all help.

D.
 
 
 

DWT prevents proper database post?

Post by Stefan B R » Sat, 31 Jul 2004 18:20:07

Difficult to say w/o seeing the ASP code,
- and the DWT editable regions (which you appear to have stripped)

If your ASP code in the page was in a noneditable region of the template, the DWT is wiping it out
- what do you see of your ASP in Code view once you have applied the DWT?

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.yqcomputer.com/
_____________________________________________



| I've developed a form used to collect contact information
| before allowing site visitors to download files. The
| form
| ( http://www.yqcomputer.com/ )
| collects the data, posts to an access database, then
| passes the form data to a confirmation page.
|
| When I attach my Dynamic Web Templates the posting
| functionality is eliminated. An example of the same
| library_request.asp file after it has attached can be
| found here:
| http://www.yqcomputer.com/
| (1).asp
|
| Any ideas why the DWT is causing this?
|
| Thanks for all help.
|
| D.

 
 
 

DWT prevents proper database post?

Post by D. » Sun, 01 Aug 2004 05:55:33

Actually I am allowing FP to generate 100% of the code
and I then save the file with an ASP extension. Therein
lies the question: If the FP form functions without the
template, and then when the template is applied (placing
the form in an editable region), why, then, is it no
longer functional.

I'll "un" optimize the HTML per FP and republish the
files so you can see the source.

What do you think?

Thanks. D.
stripped)
of the template, the DWT is wiping it out
applied the DWT?
FrontPage ]
;


information
 
 
 

DWT prevents proper database post?

Post by Stefan B R » Sun, 01 Aug 2004 18:19:42

Look at the code in an un optimized .asp page w/o the DWT applied
- when you use FP to generate your code for a DRW, it adds code to the page in more than the form area (top of page and head
section)
- those other regions need to be editable regions before you apply the DWT

PS
- if you optimize to remove comments or webbot code, nothing will work
--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.yqcomputer.com/
_____________________________________________



| Actually I am allowing FP to generate 100% of the code
| and I then save the file with an ASP extension. Therein
| lies the question: If the FP form functions without the
| template, and then when the template is applied (placing
| the form in an editable region), why, then, is it no
| longer functional.
|
| I'll "un" optimize the HTML per FP and republish the
| files so you can see the source.
|
| What do you think?
|
| Thanks. D.
| >-----Original Message-----
| >Difficult to say w/o seeing the ASP code,
| >- and the DWT editable regions (which you appear to have
| stripped)
| >
| >If your ASP code in the page was in a noneditable region
| of the template, the DWT is wiping it out
| >- what do you see of your ASP in Code view once you have
| applied the DWT?
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP -
| FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-
| ;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.yqcomputer.com/
| >_____________________________________________
| >
| >


| >| I've developed a form used to collect contact
| information
| >| before allowing site visitors to download files. The
| >| form
| >| ( http://www.yqcomputer.com/ )
| >| collects the data, posts to an access database, then
| >| passes the form data to a confirmation page.
| >|
| >| When I attach my Dynamic Web Templates the posting
| >| functionality is eliminated. An example of the same
| >| library_request.asp file after it has attached can be
| >| found here:
| >| http://www.yqcomputer.com/
| >| (1).asp
| >|
| >| Any ideas why the DWT is causing this?
| >|
| >| Thanks for all help.
| >|
| >| D.
| >
| >
| >.
| >
 
 
 

DWT prevents proper database post?

Post by MD Websunl » Tue, 03 Aug 2004 20:53:21

Ah, there is the problem. Optimization can and does eliminate required code.

--
Mike -- FrontPage MVP '97-'02
http://www.yqcomputer.com/
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible