[LON-CAPA-dev] lonparmset.pm

Gerd Kortemeyer lon-capa-dev@mail.lon-capa.org
Sat, 23 Feb 2002 21:00:31 -0500


This is a multi-part message in MIME format.
--------------0E7C8EC606C932205FE6DBE3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Robert,

Gerd Kortemeyer wrote:

> Robert McQueen wrote:
>
> >
> >
> >    By "multipe inputs" I mean in the HTML sense where you either have a
>
> > <select name=pscat multiple>
>
> Your problems does not have anything to do with LON-CAPA in particular.
>
> Your fields will come in in a different form than before when you use "multiple"
> - don't have the specs here at home, but to find out, you could simply print all
> $ENV{'form.(something)}
>
> foreach $item (keys %ENV) {
>    if ($item=~/^form/) { print $item.' - '.$ENV{$item}.'<br>'; }
> }
>
> to see what you all get for different submissions. Then go from there.

Actually, we could have a problem if the parameters for something like pscat come in
like

pscat=duedate&pscat=answerdate&pscat=opendate

See http://www.webclass.ru/show.php3?tip=16 ... hmm ...

In that case only the last occurance of that name value pair would currently come
over. We can change this, but would need a convention, like

$ENV{'form.pscat.1'}='duedate'
$ENV{'form.pscat.2'}='answerdate'

or $ENV{'form.pscat'}='duedate,answerdate,opendate'

For now it would be great if we could solve the multiple-part selector problem as a
first step.

- Gerd.

--------------0E7C8EC606C932205FE6DBE3
Content-Type: text/x-vcard; charset=us-ascii;
 name="korte.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Gerd Kortemeyer
Content-Disposition: attachment;
 filename="korte.vcf"

begin:vcard 
n:Kortemeyer;Gerd
tel;fax:(517) 432-2175
tel;work:(517) 432-5468
x-mozilla-html:FALSE
url:http://www.lite.msu.edu/kortemeyer/
org:LITE Lab;DSME MSU
version:2.1
email;internet:korte@lite.msu.edu
title:Instructional Technology Specialist
adr;quoted-printable:;;123 North Kedzie Labs=0D=0AMichigan State University;East Lansing;MI;48824;USA
fn:Gerd Kortemeyer
end:vcard

--------------0E7C8EC606C932205FE6DBE3--