I don't know how to frame this question, Ok i have a CGI task which i am using INSTEAD of a multiple select box in a DCT. So here the end user will click seelect button which is next to a Text field, this will call the CGI script and he makes selection basically my add, remove buttons as shown in the figure. After selection, he clicks submit, all the values which are selected in the right hand select box will be taken and the small cgi window closes.
I am stuck at a point, where i click submit and nothing happens, because, i don't have a clue as where to go from there, can you guys tell me read something to accomplish this?
here is the cgi which is getting invoked,
Thanks
[html]
#!c:\Interwoven\TeamSite/iw-perl/bin/iwperl
use TeamSite::CGI_lite;
use TeamSite::Config;
$|=1;
my $cgi = TeamSite::CGI_lite->new();
$cgi->parse_data();
# extract the required values from the DCT form
my $form_name = $cgi->{'form'}{'iw_form_name'};
my $element_name = $cgi->{'form'}{'iw_callback_var'};
DrawForm();
exit 0;
# ###############################################################
# Method: DrawForm
# Purpose: Outputs the HTML to create a form allowing the user to
# browse their local file structure and select a file
# for uploading. The form is then posted to another CGI
# that does the actual file upload.
# ###############################################################
sub DrawForm
{
print <<"END";
File Upload Utility
<SCRIPT LANGUAGE="JavaScript" src="myjavascript.js">
</SCRIPT>
|
George Fred Ryan Angela Jill
Cancel
END
return;
}
[/html]