hide labels

i have 2 scripts......
the first creates a grid of checkboxes....and passes the vaules on to a second script for processing

in my code i have this line

print $q->checkbox_group(-name=>"g".$i.$j,
values=>["n".$i.$j], -label=>"click");

which prints n11 n12 n13 etc.....beside all the checkboxes
how can i make it so that it doesnt print the n11 n12 etc but actually does send the values on to be processed?

i tried all these


-lables=>{"n".$i.$j => 'click'}
print $q->checkbox_group(-name=>"g".$i.$j, -values=>["n".$i.$j], -lables=>"click");    

#print $q->checkbox(-name=>"g".$i.$j,
print $q->checkbox_group(-name=>"g".$i.$j,
                              values=>["n".$i.$j], -lables=>{"n".$i.$j => 'click
'});
     #                             -values=>["n".$i.$j], -lables=>"click");
                                # -values=>["n".$i.$j], -label=>{"click"});
           #works                      -values=>["n".$i.$j], -label=>{"n".$i.$j
=> 'click'});
#                                   -values=>[""], -label=>"click");    


but none worked.....
 
 

paulwhelanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MindoCommented:
I quite don't understand you what you mean. Please, restate the problem with the full source code.
0
paulwhelanAuthor Commented:
the source code is to big to post

what i need to do is replace this line
print $q->checkbox_group(-name=>"g".$i.$j,
values=>["n".$i.$j], -label=>"click");


with a line that will send the values to the next script but not print the n$i$j values to screen

thanks
0
MindoCommented:
Then why send these values to the next script? Process them in the first file.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

paulwhelanAuthor Commented:
its the way i have it setup and it works so id rather not change it.....

id just like to know how to hide the n$i$j values.....

thanks
0
alexa_rCommented:
Well, I don't know if I understood you, but if I do, the answer is simple: you need to manually format the HTML code, so the values would not be printed:

for ($i = 0; $i<10;$i++) {
  for ($j =0; $j<10;$j++) {
    print <<END;
<input name="g$i$j" type="checkbox" value="n$i$j">\n"
END
}
}

I hope it helps.. Of course, you'll need to modify it a littlebit to suits your code..

Regards, Alex.
0
ozoCommented:
print $q->checkbox(-name=>"g$i$j", -value=>"n$i$j", -label=>"click");
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
paulwhelanAuthor Commented:
accpeting ozos answers as its what i needed
thanks to everyone though
0
paulwhelanAuthor Commented:
ozo, you're brilliant
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.