PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_QuickForm » Bug #403

Mistype in HTML_QuickForm_Rule_Callback::getValidationScript ()

Details

Submitted2003-12-11 03:30 UTC
Fromiceq at male dot ru
Assignedavb
StatusClosed
PackageHTML_QuickForm
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2003-12-11 03:30 UTC] iceq at male dot ru

Description:
------------
File: QuickForm/Rule/Callback.php
Method: HTML_QuickForm_Rule_Callback::getValidationScript ()
Lines: 103, 106

Instead of:
$jsVar
you probably had in mind:
"{jsVar}"

Since $jsVar has never been defined in the method the result javascript is generated without any parameter for a client-side callback validation function.
With "{jsVar}" it does fine.