Hey Jason
Am struggling to get a dropdown menu to retain the info.
Have got an insert form which requires an image to proceed. On ffailed submit, I have got the text inputs working fine and retaining the entered data:
<input id="BikeColour" name="BikeColour" type="text" value="<?php echo(ValidatedField("bikeinsert_973","BikeColour")) ?>" class="formTextfield_Medium" tabindex="2" style="width:310px; height:35px; font-size:16px;" />
however, the dropdown menu I have tried
<select class="formMenufield_Medium" name="BikeStyle" id="BikeStyle" tabindex="5" title="Please enter a value." style="width:315px; height:35px; font-size:16px;">
<option value="Motorcycle" <?php echo(ValidatedField("bikeinsert_973","BikeStyle")) ?>>Motorcycle</option>
<option value="Moped" <?php echo(ValidatedField("bikeinsert_973","BikeStyle")) ?>>Moped</option>
</select>
and
<select class="formMenufield_Medium" name="BikeGears" id="BikeGears" rel="<?php echo((isset($_GET["invalid"])?ValidatedField("bikeinsert_973","BikeGears"):"")); ?>" tabindex="4" title="Please enter a value." style="width:310px; height:35px; font-size:16px;">
<option value="Gears" selected>Gears</option>
<option value="Twist">Twist & Go</option>
<option value="Either">Either</option>
</select>
but clearly neither of these are working to retain the selection when the image option fails.
Thanks
Jamie