problem
From: aditya (truman_at_rediffmail.com)
Date: 11/28/03
- Next message: John W. Krahn: "Re: regexp: \x0a => \x0d\x0a"
- Previous message: Uri Guttman: "Re: Curses %$#@!"
- Next in thread: William Herrera: "Re: problem"
- Reply: William Herrera: "Re: problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Nov 2003 20:48:32 -0800
Hi,
I am new to perl and I belive the following code has a problem. Can
someone tell me what? The stuff I want to add in the html page (inside
the 'if' condition below), it doesnt come at all!
Please help!
Aditya
##############################################################################
package App::Dialog::Field::Scheduling::ReoccuringAppts;
##############################################################################
use strict;
use base qw{CGI::Dialog::ContentItem};
use CGI::Dialog;
use CGI::Validator::Field;
use base qw{CGI::Dialog::MultiField};
sub new
{
my ($type, %params) = @_;
#added
my $temp=$params{val};
if ($temp eq '1')
{
return CGI::Dialog::MultiField::new($type, %params,
fields => [
new CGI::Dialog::Field(caption => "Appointments Interval",
name => "appt_Interval",
choiceDelim =>',',
selOptions => q{Day:0, Week:1, 2 Weeks:2, Month:3, 2 Months:4, 6
Months:5, Year:6},
type => 'select',
),
new App::Dialog::Field::Scheduling::Date(caption => "Termination
Date",
name => "Term_date",
options => FLDFLAG_REQUIRED,
),
],
);
}
}
- Next message: John W. Krahn: "Re: regexp: \x0a => \x0d\x0a"
- Previous message: Uri Guttman: "Re: Curses %$#@!"
- Next in thread: William Herrera: "Re: problem"
- Reply: William Herrera: "Re: problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|