Sending one value from the child page is being done like this:
opener.document.go_next.about_0.value = document.edit_form.about_0.value;
However, when sending the array from a multiple selection input, this syntax does not work like it does for a single value:
opener.document.go_next.collect_array.value = document.edit_form.collect_array.value;
(using the html on child page)
<select name="collect_array" size="7" multiple="multiple"><option etc.></select>
(form on parent page)
<form method="post" action="./manage_artists.pl" name="go_next">
<input type="hidden" name="collect_array">
I've proven that the collect_array array can be sent directly to the perl script from a test form where it is parsed by
use CGI qw(:cgi-lib :standard);
@collect = $query->param('collect_array');
and an array results.
But going through the child to parent to perl script does not:
Error: Can't call method "param" on an undefined value at manage_artists.pl line 27.