I have a <SELECT> list in my page but Embperl is not setting the default based
on form data. Here's the code:
[- use constant CATEGORIES => ['Print', 'Collateral', 'Broadcast'] -]
<TD><B>Category:</B></TD>
<TD>
[- $fdat{category} = $data->{$fdat{item}}->{category} -]
[+ $fdat{category} +]<P>
<SELECT NAME="category">
[$ foreach $category (@{CATEGORIES()}) $]
<OPTION VALUE="[+ $category +]"> [+ $category +]
[$ endforeach $]
</SELECT>
</TD>
The [+ $fdat{category} +]<P> results in:
Collateral<P>
and Collateral is in the SELECT list.
In my conf file I have:
PerlSetEnv EMBPERL_OPTIONS 2064
I tried setting it to 16 as well.
--
Jason Bodnar
[EMAIL PROTECTED]
http://www.shakabuku.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]