Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4341502
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:29:37+00:00 2026-05-21T11:29:37+00:00

I am working on a file and I am trying to understand how to

  • 0

I am working on a file and I am trying to understand how to process a form in hopes of passing a hidden field. for simplicity, lets say i want my scipt to simply show the value of the hidden field when it is first presented to the user, incremented by one, and after it is ‘submitted’, the new script displayed with the updated hidden field. I am trying to gain insight on the explicit procedure so i can apply it to one of my current projects.
I have searched the web but most examples simply confuse me, can anyone chime in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:29:38+00:00Added an answer on May 21, 2026 at 11:29 am

    Values submitted by the form can be retrieved using the CGI module (since you haven’t shown any code, I don’t know whether you’re using CGI or attempting to handle the CGI interactions by hand; if you’re doing it by hand, You’re Doing It Wrong) and its param method.

    Given the HTML form:

    <form action='my_script.cgi' method=POST>
      <input type=hidden name=hidden_field value=1>
      <input type=submit>
    </form>
    

    You can retrieve the hidden value with (in my_script.cgi):

    #!/usr/bin/env perl
    
    use strict;
    use warnings;
    
    use CGI;
    
    my $q = CGI->new;
    my $hidden_value = $q->param('hidden_field');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to list every un-versioned file in my SVN working copy regardless of
I am trying to convert an html file to xml. It is working for
I'm working on a 1 Gigabyte JSON text file which I'm trying to parse
I have a working file rename java tool, now I want to add an
I am trying to understand a batch file that was sent to me in
I have been working on a contact form that allows multiple file attachments using
Am working with a file that I haven't written and I'm just trying to
I am trying to understand the exact actions being taken by a make file
I am trying to understand the working of the built-in sum() function, but, the
I'm trying to understand how to get my iPhone application working with RegexKitLite ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.