FormMail within a CGI Script

2008-09-20 Thread Mike Flannigan
Within a "start_html" block in a CGI script I do this: button(-name=>'button_name', -value=>'I have info to contribute', -onClick=>"redirectmail()"), In "redirectmail()" is have: sub redirectmail { print header, start_html('Mail Info'), h1('Mail

Re: FormMail within a CGI Script

2008-09-20 Thread Randal L. Schwartz
> "Mike" == Mike Flannigan <[EMAIL PROTECTED]> writes: This is Perl... Mike> sub redirectmail { Mike> print header, Mike>start_html('Mail Info'), Mike>h1('Mail Info'), But this isn't... Mike> ACTION="http://somewebhost/forms?login=myusername&to=myaddress&confirm=confirm

Carry Variable to Form

2008-09-20 Thread Mike Flannigan
I have an html file that parses passed parameters with this code: var query = location.href.substring((location.href.indexOf('?')+1), location.href.length);
if(location.href.indexOf('?') < 0) query = '';
q

Re: Carry Variable to Form

2008-09-20 Thread Owen
Hi, This is a Perl mailing list, maybe you would be better off posting to a javascript list, or if it is a html file, a html group? Owen > I have an html file that parses passed parameters with > this code: > > > > > var query = location.href.substrin

Re: Carry Variable to Form

2008-09-20 Thread Mike Flannigan
Owen wrote: Hi, This is a Perl mailing list, maybe you would be better off posting to a javascript list, or if it is a html file, a html group? Owen I'm so new at this I really didn't notice the distinction. I've done this formmail thing in pure html, html with javascript, and then Pe