
 Luke Rotherfield - 2011-03-02 00:04:43 - 
In reply to message 2 from rudie dirkxHi,
Sorry it took so long to respond, I only just became aware of your comment.  As to the first point, I may one day split the file into separate classes, but at the moment it just seems like a pain to have to have so many files when most are only going to be a few lines long.  What bonus would namespacing each file have over namespacing the current combined file?
Point two, this error is thrown up as the validate function in the Nibbleform class only validates against the POST value if it exists, however the confirm classes validate if they have been called against the POST value, irregardless of whether or not the value exists, thus only the confirm fields will throw an error if you try and validate without submitting a form.  However there is no reason I can see (please let me know if I am missing something and I will sort it) to validate a form that is not submitted.  That is why in my example I call the validate function inside and if statement that tests for $_POST['submit'].  http://nibble-development.com/nibble-forms#overview
Hope that helps, if not let me know
Luke