logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [FormBuilder] Accessing 'text' option and messages from TemplateToolkit: msg#00007

Subject: Re: [FormBuilder] Accessing 'text' option and messages from TemplateToolkit
Do this instead:

>my $form = CGI::FormBuilder->new(
>       title => 'Form title',
>       template => {
>               type => 'TT2',
>               template => template.tmpl',
>               variable => 'form',
                 data => { text => 'Some text here.', },
>       },
>       messages => { the_message => 'The message comes here.'},
>       ...
>}

Then refer to 'text' in your template.

Mark

_________________________________________________________________
Add fun gadgets and colorful themes to express yourself on Windows Live 
Spaces   
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://www.get.live.com/spaces/features

_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>