>
> <form>
> <table>
> <tr>
> <td>[+ $set[$row]{name} +]</td>
> <td><input name=foo value='Y'></td>
> </tr>
> </table>
> </form>
>
> If I submit this form, $fdat{foo} will contain a tab-separated string
> of 'Y' and '' values.
> However when I do this, all the input fields will have a 'checked' in
> them.
It doesn't look for the first value, but for the value attribute. So the
following code works correctly:
<td><input name=foo value='Y[+ $row +]'></td>
now you get Y1, Y2 etc.
>
> (I do wish that $fdat{foo} were a reference to an array--but that's a
> separate issue)
Maybe that had been a good idea, but for historical it isn't, but you can
easily convert it:
@a = split (/\t/, $fdat{foo}) ;
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]