A question on Radio buttons in the CGI::Form package

2004-07-27 Thread Kasturirangan Rangaswamy
Hi, I am trying to generate radio buttons using the CGI::Form package. My radio buttons need to be vertically aligned with some other HTML elements in between them. For e.g. Radio 1 Radio 2 This obviously precludes me from using the 'radio_group' method as that does not allow me

CGI::Application design question

2004-11-26 Thread Kasturirangan Rangaswamy
Hi, This is a CGI::Application design question. It concerns side- stepping normal run modes at any point within the application to display an error screen. I have created a 'base' module whose job it is to a. Setup a connection to a database b. Initialize session c. Bring th

Re: CGI::Application design question - Solved

2004-11-27 Thread Kasturirangan Rangaswamy
hings seem OK. Thanks for all your help. Sharad --- [EMAIL PROTECTED] wrote: > > > > > From: Kasturirangan Rangaswamy <[EMAIL PROTECTED]> > > Date: 27/11/2004 16:54:19 > > To: [EMAIL PROTECTED] > > Subject: CGI::Application design question > > > &g

Problem using hidden variables

2004-03-05 Thread Kasturirangan Rangaswamy
Hi, I have a perl program that has an include directive calling another Perl program in it. The structure is somewhat as follows first.pl -- #!/usr/local/bin/perl require "second.pl" $q = new CGI; print $q->hidden(-name='first', value='1'); second($q); End of first.pl s

Unique problem using checkbox in Perl

2004-03-25 Thread Kasturirangan Rangaswamy
Hi, I am using the Perl CGI module to generate HTML form elements. One of these elements is a checkbox. Following is my definition of this checkbox print $q->checkbox(-name=>'want_media', -checked=>'checked'); The problem is, when the page gets displayed, I get a

What to use for Perl form Validations?

2004-03-26 Thread Kasturirangan Rangaswamy
Hi, I have created some HTML forms using the Perl CGI module. Now I need to perform client-side validations on those forms. Examples of these validations include checking if numbers alone have been entered in a price field, checking if the e-mail field is in the correct format etc. I am th