>
> I think it would be more intuitive if Embperl allowed for some default
> value, so one could write
>
> [- $fdat{xxx} = "some value" -]
> <input name=xxx type=checkbox>
>
> and Embperl would understand that "some value" is perlish true/false and
> added 'checked' accordingly.

The problem is that you could have multiple checkboxes (or more common
radiobuttons) with the same name:

<input name=xxx type=checkbox value=a>
<input name=xxx type=checkbox value=b>
<input name=xxx type=checkbox value=c>

How should Embperl decide what to do here? I think the current way is
correct, but I add a note to the docs/faq

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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to