title: Renaming a PHP file enables jquery form validation?
body: <p>This is a very odd problem. I have a signup form, signup.php, which uses the jQuery validate plugin to validate it.</p>
  
  <p>Twice in last 2 months, the form serialization abruptly failed (see code below) and no <code>input</code> values get submitted regardless of what I put in them. The weird part is if I simply rename the signup.php file (e.g., to signup0.php) then the form serialization works again and the form validates. My signup.php file is included in my main template.php file using the following code:</p>
  
  <p>PHP</p>
  
  <pre><code>&lt;? include $_SERVER['DOCUMENT_ROOT'] . '/application/views/forms/signup.php';?&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>beforeSubmit:function(formData, $form, options)
    var thisFormData = $.param(data.formData); 
    console.log('live data: ' + thisFormData); 
    //this yields no data regardless of what I enter in any of the input fields
    //subsequently $($form).validate() fails
  </code></pre>
  
  <p>Does anyone have any clue what is going on here? I also have a login.php form included in this template.php file which never suffers this problem. This has to be a PHP rather than a JS problem since renaming the PHP file can correct it, right? The only thing I can think is that multiple hidden instances of signup.php are being created somehow but that seems like the thoughts of a crazy person.</p>