Thank you, I will try this. Any ideas on the weird display of the foreach
loop I also sent along?
Bill "Elvis" Gibbs
goEbusiness.com - putting e-motion in your business
email - [EMAIL PROTECTED] work - 301-668-5090 cell - 301-748-6938
-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 2:25 AM
To: Elvis; [EMAIL PROTECTED]
Subject: Re: 2.0b3 and processing "input" fields
> I can't get Embperl to "select" a dropdown list option if I import the
options via Execute.
>
Yes, because Embperl 2 scans the two document independenly of each other, it
is not aware that the option tags, belongs to the select tag. I would return
an array that contains the options and display them in the main file:
[- Execute('options.html', \@val, \@txt) ; -]
<select name="Example2">
<option value="[+ $val[$row] +]">[+ $txt[$row] +]</option>
</select>
options.html:
[-
@{$param[0]} = (1,2,3) ;
@{$param[1]} = (One, Two, Three) ;
-]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]