Get values from checkbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jdluk87
    New Member
    • Mar 2010
    • 5

    #1

    Get values from checkbox

    Hi, I have the following problem:

    1. I have a form in html with a variable number of input type=checkbox
    2. With post action I must send the checked values to my script in perl.

    The problem is how can a i get this kind of values in my script in perl?

    Thanks
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    You should check out this article. It requires that the checkbox code have a "name=" value so you can reference it with the param() function. If its undef, it wasn't checked.

    Regards,

    Jeff

    Comment

    Working...