|
|
 |
Re: FN-FORUM vbscript help required
date posted 23rd January 2003 14:51
you're trying to call a client-side script from a server-side which won't
work
the contact_vet.htm shoud either be included in #include or using the
runat="server" attribute in the tag if you want it to run
server-side, if you want it run client-side then you cannot use the
tags, you need to call it as you would a javascript function.
also i cant see what you're trying to do with valid_form, if its a function
then you should be passing variables for it to return something to test as
in:
function aFunc(str)
if str="this_string" then aFunc=true
if str"this_string" then aFunc=false
end function
if aFunc(myStr)=true then....
----- Original Message -----
From: "PAMELA WHITTAKER" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Thursday, January 23, 2003 1:40 PM
Subject: FN-FORUM vbscript help required
> I am stuck with some vbscript :-
>
> [EMAIL REMOVED]
>
>
>
> Knutsford Software Ltd :- Contact Page
>
>
>
>
>
> if(parent.frames.length==0) top.location='index.htm';" leftmargin="0"
> topmargin="0" marginwidth="0" marginheight="0">
> z-index:1; left: 6px; top: 48px">
>
> Contact Details:
>
>
> 5px; top: 92px">
> If request.form("SendNow")= "YES" Then
> Response.write("aaaaaaaaaaaaaaaaaaaa")
> If Not valid_form Then Response.write("False") End if
>
> If valid_form Then
> Response.write("bbbbbbbbbbbbbbbbbbbbb")
> Title = request.form("title")
>
>
>
>
> valid_form is a function defined in Contact-vet.htm but it isn't getting
> called - any ideas. I have got active scripting disabled to disable
> javascript - is that the reason?
>
> Any ideas please
> Thanks
> Pam
>
>
> '
>
> NTMail K12 - the Mail Server for Education
> ========
> Freelancers and Freelance Jobs: http://www.freelancers.net
>
> Advertise with Freelancers.net http://www.freelancers.net/advert.php
>
> To unsubscribe please email:
[EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
|
 |
|