I have a site with about 40 pages all use this SSI
<html>
<head>
<title>TBA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" title="styles" href="PATH?wgof_basic.css" />
<script type="text/javascript" src="wgof.js"></script>
</head><body>
<div id="container">
<div id="header">
<h1> <img src=IMAGE width="188" height="146" border="0" />Administration</h1>
</div>
<div id="sidebar">
<ul>
<li> nav link </li>
<li> nav link</li>
<li><nav link</li>
<li>nav link</li>
<li>nav link</li>
<li class="last"> nav link </li>
</ul>
</div>
<div id="content">
Right now there is minimal form validation. I was hoping to set up functions for the basic validation needs: required field, all numbers, float vs int, phone numbers etc that appear on multiple pages. I was hoping I could do it with an external js script but it isn't working. I know how to set up the regular expressions to do the validation in php. What is the best way to set this up, an includes with common functions to validate? The server is not the fastest gun on the planet, I was hoping to do these validations client-side.
Any suggestions are appreciated.
And yes that above code was editted to remove the actual paths. The header works fine unless I put in an external js link