[SLUG] Web Site

Adams, Jamie Jamie.Adams at homegroup.org.uk
Wed Feb 12 10:19:01 GMT 2003


> -----Original Message-----
> From: Ian Eade @ IGM Web Design [mailto:ieade at igmwebdesign.info]
> Sent: 12 February 2003 09:56
> To: scarborough at mailman.lug.org.uk
> Subject: RE: [SLUG] Web Site
> 
> Yeah it looks well, what version are we on now?

I make it to be version 4. :)

> 
> Maybe add this code to the head section to stop people submitting an
empty
> contact form
> 
> Ian
> 
> 
> 
> <script language="JavaScript">
> <!--
> function validate(form)
> {
> var ERROR=false;
> 
> if (form.from.value == '')
>   {
>   alert ("Your email address is required.\n\nYour email address will
not
> be
> given to third party\'s");
>   return false;
>   }
> 
> if (form.contact.value == '')
>   {
>   alert ("Please enter a message");
>   return false;
>   }
> 
> else
> return true;
> }
> // -->
> </SCRIPT>
> 
> 
> 
> <input type="Submit" value="Submit" onClick="return
> validate(this.form)"></input>
> 

That's useful. Cheers Ian, I'll add that in tonight. As long as I get my
internet access back at home that is.

Jamie

--------------------------------------------------------------------------------------------------------------------
This message is intended only for the use of the person(s) ("Intended Recipient") to whom it is addressed. It may contain information, which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




More information about the Scarborough mailing list