A survey form I wrote runs fine of Firefox 1.5.0.9, but MS IE 7.0.5730.11 gives this error message "document.forms.forms.elements" is null or not an object." My file contains:
// Include the extended class.
require_once("example_elements.class.php"); // also has to have apeform.class in the same folder
// Instantiate an object from this class.
$form = new ExtendedApeform();
Thiemo Kreuz - 2009-08-20 09:04:18 - In reply to message 1 from Robert Fogel
There are just a few lines of JavaScript in my class to set the input focus to the first form element. I used document.forms[0] before. This may fail if there are other forms in your HTML document. I rewrote the JavaScript part to use more standard compilant methods.