Thanks David, it works this way.
- Original Message -
From: "David Kirol" <[EMAIL PROTECTED]>
To: "Margaret" <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 4:47 PM
Subject: RE: Multiple Selects to Perl Script
> Margaret,
> Post some code (the error will be easier to spot). How do yo
Thanks Connie. I tried it that way too, but it still doesn't work
- Original Message -
From: "Connie Chan" <[EMAIL PROTECTED]>
To: "Margaret" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 7:47 AM
Subject: Re: Multiple Selects to Perl Script
> Sorry, wrong =)
>
Sorry, wrong =)
One
Two
Three
Don't missed the value= inside option.
where value= is the value throw to CGI,
otherwise, you will get type=(nothing).
Rgds,
Connie
- Original Message -
From: "Margaret" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 01, 2002 1:45 P
Hi
My html looks like this :
.
.
one
two
three
etc
.
.
>
> Does this look right?
>
> Thanks
> Margaret
>
> - Original Message -
> From: "Kipp, James" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 31, 2002 3:36 PM
> Subject: RE: Multiple Sele
Kipp, James wrote:
> What is the best way to validate form data. I have a form which the user
> enters dates like '08/01/2002'. What is the best way to make sure this
> format is entered. Should i use javascript here or regex?
i had some free time, so i decided to finish up some thoughts i have
This is coming from left field, and the gurus should chime in, and I
have been reading up about IPC last couple of days so this is on the
brain, but would setting up a signal handler (don't know what signal it
would be receiving, obviously this would need to be determined) help? I
would think
>
>>>I have a form which the user
>>>enters dates like '08/01/2002'. What is the best way to make sure this
>>>format is entered. Should i use javascript here or regex?
>>
>
> None of them, you should create a select/opt menu.
> Then you even no need to check it, so you can put you focus
> to a
Thanks, my mistake. I orginally had the qw:/standard at the top but I
changed it so anything using CGI.pm needed a $CGIquery but I forgot to
add that before the param("con");
On Wed, 31 Jul 2002 13:48:45 -0700, "Soheil Shaghaghi"
<[EMAIL PROTECTED]> said:
> Sorry, I am pretty new to Perl myself,
on a side note: does anyone know the % of people that actually disable
javascript in their browser? can javascript actually be used to harm (lets
pretend those annoying pop-up windows don't count!)? i'm not really a
hard-core javascript person, so any stats that you have would be interesting
a
This is what shows in my error log:
Undefined subroutine &main::param called at
/home/sites/kmb/www/public_html/njindenial/index.pl line 10.
This is like 10:
my $con = param( "con" );
What should I change? I'm not quite sure what I should do.
(I have attached the entire script if you think it i
How do I flock(); with strict subs in effect?
Thanks,
--
Kyle
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks for the reference. but as ealier mentioned , java script can be
filtered out or shut off at the browser. i went ahead and made a validation
routine in the CGI itself with regex and other tests.
> -Original Message-
> From: John Griffiths [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday
Although Perl/CPAN makes some good form handling modules available I think that the
more client side data checking you can do the better. For date input I'd go with
javascript, and
I'd use an input calendar to control the data. See, for example, a prototype I'm
working on at http://www.southwin
Hi all,
I've made a script for uploading a file, and it uploads the file but it has
a problem.
I want to print another page that prints "File uploading..." while the file
is uploading.
Unfortunately I can't do that.
After pressing the upload button, the page remains the same. It only appears
"O
> > What is the best way to validate form data.
That would be a very very big topic here...
I can't show the method, but can share some steps.
Client Side
1. Check missing fields (Check it if js enabled)
2. Check pattern (js also do regex, but not powerful as Perl)
Server Side =
On Tue, 30 Jul 2002 08:18:27 -0700, [EMAIL PROTECTED] (Soheil Shaghaghi)
wrote:
>Can anyone please help me?
It is really hard to tell what you want to do from the
information you sent. Your cgi-script dosn't print out
any html, nor does it print a location to go to. What do you
want?
Post the w
Jim,
My recommendation is to write a session file on your server and pass the session
id around with
the browser variables. Now whether you use cookies, get or post to pass the session
id, you don't
have to be passing the actual username. If you don't want to have the user see the
session
are you sure all the values are associated with the name 'type' ?
> -Original Message-
> From: Margaret [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 9:27 AM
> To: [EMAIL PROTECTED]
> Subject: Multiple Selects to Perl Script
>
>
> Hi
>
> I am having a most frustrating pr
Hi
I am having a most frustrating problem. I created a from with multiple
selects using a perl script and passed the multiple selections to an array
ie.
@array1 = $q->param('type').
The array only contains the first selection and none of the others. How do I
fix this? I have read a lot of docum
On Tue, 30 Jul 2002, Kipp, James wrote:
> What is the best way to validate form data. I have a form which the user
> enters dates like '08/01/2002'. What is the best way to make sure this
> format is entered. Should i use javascript here or regex?
I heard about and started using Data::FormValida
20 matches
Mail list logo