Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
CGI_lite get Values
Bhargav Coca
TS6.5sp2 on Win2000
I am having a little confusion as how to retrieve values from a cgi-callout when it is called again for edit.
I have the values in the field which is calling the cgi-callout (External ipl file), but if enduse clicks the callout button again i need to get the values to the external script, how would i do that?
How can i retrieve the values?
my $cgi = TeamSite::CGI_lite->new();
$cgi->parse_data();
open (LOG, ">C:/Interwoven/TeamSite/tmp/SelectBoxLog.log");
# extract the required values from the DCT form
my $form_name = $cgi->{'form'}{'iw_form_name'};
print LOG "$form_name\n";
my $element_name = $cgi->{'form'}{'iw_callback_var'};
print LOG "$element_name\n";
my $item_name = $cgi->{'form'}{'iw_item_name'};
print LOG "$item_name\n";
Thanks
Find more posts tagged with
Comments
Migrateduser
my $element_value = $cgi->{'form'}{'iw_item_value'};
@array=split(/\n/
,$element_value);
foreach (
@array)
{
print LOG "$_";
}