
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] how to acces form fields..
At 02:51 PM 09/25/2001 -0500, you wrote:
>I want to process a form, validate it and if it meets certain
>criteria, store it in a DB.
>
>I am using perl to store to do this. How do I access the form
>fields ?
>
>Using [value..] or [cgi..] doesnt work. What should I use
>to retrieve those values ?
>
I assume you mean you are using [perl ..][/perl]? You would do something like:
[perl]
my $foo = $CGI->{foo};
# ...or...
my $bar = $Values->{bar};
[/perl]
Take a look at these docs for more info:
http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_15.html
http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_31.html
http://ic.redhat.com/cgi-bin/ic/dev-4.8/ictemplates_40.html
- Ed L.
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users