Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

Updating pages via template, loses form validation

Posted 20 Jan 2005 07:53:52
1
has voted
20 Jan 2005 07:53:52 HECTOR FERNANDEZ posted:
Hi,

I have a site which uses templates. Whenever I update the whole site (if I change the template) I lose my form validation. Does anyone know why this is and what fixes ae possible? I'm using ASP , VBSCRIPT and DWMX.

Thanks so much for any help you can provide.

Replies

Replied 20 Jan 2005 15:02:43
20 Jan 2005 15:02:43 Dave Thomas replied:
dont personally use templates as they can limit what you can do.

i thinks its something to do with the new template not accepting your javascript in the head section due to the lockable content features, tho i may be wrong. just a guess from what i know of them.

i see your using asp, so my advice to you is to start using 'include' files instead of the template approach. works much better for me and others on here.

regards
Dave
Replied 20 Jan 2005 21:10:11
20 Jan 2005 21:10:11 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>...i thinks its something to do with the new template not accepting your javascript in the head section due to the lockable content features, tho i may be wrong. just a guess from what i know of them.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I agree with Dave, check if you have a editable region in your &lt;head&gt; tag.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>i see your using asp, so my advice to you is to start using 'include' files instead of the template approach. works much better for me and others on here.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
I totally agree with Dave here, eventually you will want to learn how to strip out most of your ASP code and and use them from <i>include</i> files.

Reply to this topic