TS 6.5Solaris 9I've created a FormAPI script to pass an array to a cgi. However, the cgi can't seem to pick up the javascript array. Are we only allowed to pass strings to a cgi? in the code below 'fieldArray' is not showing up as one of my parameters that have been passed. Any thoughts?javascript code var dcrFields = new Array();dcrFields[0] = "/site_nav/brand/leftImage";dcrFields[1] = "/site_nav/brand/leftImageAlt";..................... var params = new Object();params.fieldArray = dcrFields ;...........IWDatacapture.callServer("http://"+server+"/iw-bin/kpinfo/getDefaultValues.ipl", params);-----------------------------------------------------------perl code (CGI)use CGI;my $in = new CGI;foreach my $key ($in->param) {debug("key: " . $key);}
I am passing 'params' and the cgi is able to print out all the variables that are part of params. However, when I pass an Array object the cgi does not recognize the array.Do you know how to pass an array from a FormAPI script to a cgi script?