Hello,
I am hoping to do a search of a file based on user input. I already
have my template and I was hoping to put a <form> tag in it so that I
might get user input, then pass that to a cgi script to do the search
logic.
If I use the following:
[%- CGI.start_form({ action => '/cgi-bin/search.cgi' });
CGI.textfield('search','',30,30);
CGI.submit('');
CGI.end_form.join(''); %]
I can then get the value of the textfield with [% SET string =
CGI.param('search') %}
However, how can I paste that onto the URL so that the search cgi
script pointed to by the action parameter sees the CGI.param
('search') string?
Jeremiah Foster
[EMAIL PROTECTED]
---
Key fingerprint = 9616 2AD3 3AE0 502C BD75 65ED BDC3 0D44 2F5A E672
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates