Redirect on the pushing button

2005-03-31 Thread Maxipoint Rep Office
I am create edit data form, and it ask visitor: do you wish edit data? All is ok with Yes button, but I don't kniw what with No button :-) I wish that clicking NO button recirect me on some URL.. Any help -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Redirect on the pushing button

2005-03-31 Thread Dave Gray
I am create edit data form, and it ask visitor: do you wish edit data? All is ok with Yes button, but I don't kniw what with No button :-) I wish that clicking NO button recirect me on some URL.. You can do this in perl by sending a Location header back to the browser before you send

Re: Redirect on the pushing button

2005-03-31 Thread Dave Gray
You can do this in perl by sending a Location header back to the browser before you send Content-type a la: #!/usr/bin/perl use strict; use warnings; use CGI; use CGI::Carp 'fatalsToBrowser'; my $cgi = new CGI; my $form = $cgi-Vars; if ($form-{no}) { print