CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Adding a field to a cgi file



Jan 21, 2000, 7:29 PM

Post #1 of 3 (2145 views)
Adding a field to a cgi file Can't Post

I need to add a line to a cgi file.
Here is an example from the file I need to add. I'm trying to add a "property tax" input field.

'10' => ['Property Address 1','AD2','nosearch','20', 'text','address 1', ]

My main question is regarding the "AD2", how do I make a parameter like this for "Property tax"?

Hope this makes sense.

Thanks Mark


Jan 21, 2000, 8:23 PM

Post #2 of 3 (2144 views)
Re: Adding a field to a cgi file [In reply to] Can't Post

Hi Mark,

What you posted here is a piece of a complex data structure. It appears to be a hash of annonymous arrays.

Just from what you posted there is no way to tell how to do what you are asking.
Here is my best guess though.
10 :is just and item number to be sorted on for displaying.
Property Address 1 :is what is displayed to the user outside the form field.
AD2 :I have no clue. Maybe the name of the field.
nosearch :again no clue.
20 :the size of the form field.
text the type of field
address 1 no clue.

You can try just adding anouther row to the hash. Make sure the key is unique.



Jan 21, 2000, 8:54 PM

Post #3 of 3 (2144 views)
Re: Adding a field to a cgi file [In reply to] Can't Post

The AD2 turned out just to be a unique name. I have it working now.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives