Hello there!
I am using the CGI plugin with TT. I have a simple TT page in which I
call CGI thusly;
[%- CGI.start_form( action => http://localhost/action.cgi);
CGI.textfield('search_term','',40,40);
CGI.submit(value => 'SEARCH');
CGI.end_form.join(''); %]
But this will not produce the desired result, which is to execute the
URI pointed to by action with the search term. I have tried various
permutations which try to bind the search_term onto the URI, but that
has failed to work. What is the best way to do this?
Is it to just create more logic that looks to see if the 'SEARCH'
value is pressed and then execute the action? Or is there another
simpler method?
Thanks,
Jeremiah
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates