The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Variable FORM Field Names.

Discussion in 'General Discussion' started by JanusPaul, Jun 12, 2004.

  1. JanusPaul

    JanusPaul Member

    Joined:
    May 13, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    I noticed that in the cron job/tab edit section, it allows you to upload multiple input fields/settings with variable field names. In the HTML file that calls these functions, it refers to %FORM to parse these field names. I was wondering how might I access the %FORM array inorder to receive data from checkbox NAME/VALUE types instead of a always using a static Function($FORM{'Field_Name'}).
     
  2. JanusPaul

    JanusPaul Member

    Joined:
    May 13, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    Heh, I saw in a couple other posts

    usr Cpanel::Form qw(parseform);
    ...
    my %FORM = parseform();
    foreach my $name (%FORM)
    {
    print "\$FORM{'".$name."'} = '".$FORM{$name}."';<BR>\n";
    }

    Well, that there doesn't error, but it don't print anything either, even when data is sent to cPanel. What's wrong with that?
     
Loading...

Share This Page