perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Smith" <smi...@gmail.com>
Subject Preventing selected being added to option tags
Date Mon, 21 Jan 2008 15:10:59 GMT
Hi,

Can someone please clarify how I prevent 'selected' being
automatically added to selects?  Here's my embperl file:

[-
$optDisableSelectScan=1;
$optDisableInputScan=1;
-]

<form>
        <select name="test">
                <option value="A">A</option>
                <option value="B">B</option>
                <option value="C">C</option>
        </select>
        <input type="submit">
</form>


What happens is that once you submit the form, 'selected' gets
automatically added to the relevant option tag.

How can I prevent this, and set it (or not set it) myself instead??

Many thanks

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message