Home » HTML » HTML_QuickForm » Bug #403
Mistype in HTML_QuickForm_Rule_Callback::getValidationScript ()
Details
| Submitted | 2003-12-11 03:30 UTC |
|---|---|
| From | iceq at male dot ru |
| Assigned | avb |
| Status | Closed |
| Package | HTML_QuickForm |
| PHP Version | Irrelevant |
| OS | irrelevant |
| 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.