Check box use

K

Kuna

Hi All,

I need a help in a perl script. So let me explain about that script :
in the script there is a *.pl file and *.pm file where the .pl script
is calling the .pm modules and the .pm module is containing a html form
where there are some form fields and these form fields can be
downloaded by the user after entering data in there and again can be
uploaded to the form so I have done those but i need now to add
checkboxes before the fields where I can give a condition that if the
check box is true then after clicking download that will only download
the checked items and again if I want to upload then also the same
process. So I need some help to implement the checkboxes and to give
the output as my requirement . So please give your suggestions.


Thanks,
Kuna. :)
 
I

Ian Wilson

Kuna said:
Hi All,

I need a help in a perl script.

That is a nice short sentence, easy to understand. It is superfluous but
at least it is good English (though you should capitalize Perl).

So let me explain about that script :
in the script there is a *.pl file and *.pm file where the .pl script
is calling the .pm modules and the .pm module is containing a html form
where there are some form fields and these form fields can be
downloaded by the user after entering data in there and again can be
uploaded to the form so I have done those but i need now to add
checkboxes before the fields where I can give a condition that if the
check box is true then after clicking download that will only download
the checked items and again if I want to upload then also the same
process. So I need some help to implement the checkboxes and to give
the output as my requirement .

That sentence is just too long for comprehension. I'd break it up into a
dozen or more sentences. I'd organize those sentences into three or four
paragraphs. If you don't do that you are making it hard for people like
me to understand you.

I think this "stream of consciousness" style may be suited to a few
avant-garde novelists but you have to be very lucid to get away with it.
I suspect it isn't a style that works well in newsgroups.
So please give your suggestions.

I suggest you simplify your code and post *short* .pl and .pm files
here, then explain carefully what the code does and what you want it to
do instead. Give example output. Give desired output. Organize your
thoughts carefully. Above all, keep it short.
 
A

anno4000

Ian Wilson said:
That is a nice short sentence, easy to understand. It is superfluous but
at least it is good English (though you should capitalize Perl).

....and drop the indefinite article with "help".

Anno
 
K

krakle

at least it is good English (though you should capitalize Perl).

I guess Ian Wilson thinks English is the only language in the World.
News flash, not everyone speaks English but many people try to learn
our language to communicate with us. You should feel honored...

Intead of helping someone out we critisize their spelling, grammer and
punctuation. It's more so here than anywhere else. Which proves that
most programmers are anti-social geeks who don't know how to speak to
someone properly.
 
A

Ala Qumsieh

Intead of helping someone out we critisize their spelling, grammer and
punctuation.

I agree with your statement above, but I find it funny that in a
sentence that criticizes criticizing spelling, there are three spelling
mistakes :)

--Ala
 
P

Paul Lalli

I guess Ian Wilson thinks English is the only language in the World.
News flash, not everyone speaks English but many people try to learn
our language to communicate with us. You should feel honored...

Intead of helping someone out we critisize their spelling, grammer and
punctuation. It's more so here than anywhere else. Which proves that
most programmers are anti-social geeks who don't know how to speak to
someone properly.

News Flash - if the people you're asking for help can't understand what
you're saying, they can't help you. I've been speaking English all my
life, and I can't for the life of me parse that massive paragraph-long
run-on sentence. Obviously others couldn't either. Which is why they
were trying to HELP the OP to help us help him.

If you can parse the OP's message - what the hell is stopping you from
helping him? Or do you prefer to criticize other people's criticisms
"instead of helping someone out"?

Paul Lalli
 
J

J. Gleixner

Kuna said:
Hi All,

I need a help in a perl script. So let me explain about that script :
in the script there is a *.pl file and *.pm file where the .pl script
is calling the .pm modules and the .pm module is containing a html form
where there are some form fields and these form fields can be
downloaded by the user after entering data in there and again can be
uploaded to the form so I have done those but i need now to add
checkboxes before the fields where I can give a condition that if the
check box is true then after clicking download that will only download
the checked items and again if I want to upload then also the same
process. So I need some help to implement the checkboxes and to give
the output as my requirement . So please give your suggestions.

I can't think of a way, off the top of my head, to upload many files at
once, using a simple checkbox. It should be possible using JavaScript
to iterate over the files and send each one. ( Searching the Internet
on "multiple file upload" came up with some good examples.)

Downloading a bunch of files, using a checkbox, should be pretty simple.
I think the trick would be to tar/zip them, on the server side, into
one file, and then send that as the download. ( Again, searching the
Internet on 'multiple file upload' showed some good examples. )

To simplify your development, I'd suggest creating a short CGI and HTML
that deals only with what you're trying to develop. Once you get it
working, then integrate it into your main script or module.
 
T

Ted Zlatanov

Which proves that most programmers are anti-social geeks who don't
know how to speak to someone properly.

You forgot "can't get a date" and "live in their parents' basement."
If you are going to stereotype, do it right.

Ted
 
I

Ian Wilson

I guess Ian Wilson thinks English is the only language in the World.
News flash, not everyone speaks English

Poor guess.

If I can't understand a posting written in English then it is probable
that many people for whom English is a second language will have also
have trouble understanding the poster.

If you are going to post in English I'd say it is a good idea to make
your best effort at being readable. Otherwise post Perl (which ISTR I
did also advise).
but many people try to learn our language to communicate with us. You
should feel honored...

If Kuna is trying to learn, then he should be happy that I specifically
pointed out how he could make himself better understood.

When I post a problem to c.l.p.m I'm honoured that anybody takes the
time to respond, especially if it is to point out how I could
communicate my problem better.

Intead of helping someone out

If I could understand his posting I would have helped with the Perl
problem. Check out his posting history. Last time Kuna posted, I helped
and Kuna thanked me for my help.

This time I couldn't help, simply
because I found his posting too difficult to understand.

we critisize their spelling, grammer and punctuation.

Wrong. In order to be able to help Kuna, I suggested how he could make
himself better understood. I regard that as helping someone more than as
merely criticizing them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top