Re: QuickForm: Problems with client-side validation

From: Date: Mon, 01 Nov 2004 10:43:45 +0000
Subject: Re: QuickForm: Problems with client-side validation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15263@lists.php.net to get a copy of this message
Hi, Ralf Eggert wrote:
In the HTML Code of the form tag QF has added the following code: onsubmit="return validate_form(this);" The problem is, that the javascript code with the function validate_form() is not available in the HTML code.
That's because you didn't add a placeholder for form's javascript to your template.

« previous php.pear.general (#15263) next »