in reply to Javascript with CGI::FormBuilder and Template Toolkit
$form->field( name => 'go_live_date', a => $lot );
Uh, what are you expecting to happen there? You're asking FormBuilder to insert an "a" attribute into the field with the specified value. FormBuilder is (correctly) quoting the value of the attribute for insertion in HTML. There's nothing you can quote to "fix" that.
The documentation does not seem to mention any way to add arbitrary tags. Why not use FormBuilder's TT2 support? That way you have full control over everything.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Javascript with CGI::FormBuilder and Template Toolkit
by set_uk (Pilgrim) on Nov 11, 2003 at 13:18 UTC | |
by jeffa (Bishop) on Nov 11, 2003 at 14:57 UTC | |
by set_uk (Pilgrim) on Nov 11, 2003 at 15:13 UTC |