Home » HTML » HTML_Template_IT » Bug #139
Problems creating dynamic javascript reqular expressions
Details
| Submitted | 2003-10-22 11:34 UTC |
|---|---|
| From | ari dot kuorikoski at pp dot malax dot fi |
| Status | Bogus |
| Package | HTML_Template_IT |
| PHP Version | 4.3.2 |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2003-10-22 11:34 UTC] ari dot kuorikoski at pp dot malax dot fi
Description:
------------
I need a textbox with input mask on a html form. There is a javascript function in my HTML head part. That function gets the regular expression as a paramter from a input text when onblur action is generated for particular input.
The box is generated to {version} placeholder like this:
$mask = ^\d{2}\.\d{4}$;
$this->tpl->SetVariable('version', $this->input->maskedTextEdit('', 'version', $mask));
when the tempate is printed {2} and {4} are lost, I guess they are treated as placeholders?? Am I right