Update 2 columns
Hey Ray
How would I go about, if the below drop down is set to 1 a column 'InStock' is set to 1 on insert?
<select name="ProductDropship" id="ProductDropship" onChange="setTextField();" class="select <?php
if (ValidatedField('contentinsert','contentinsert')) {
if ((strpos((",".ValidatedField("contentinsert","contentinsert").","), "," . "3" . ",") !== false || "3" == "")) {
if (!(false)) {
?>required<?php //WAFV_Conditional download_insert.php contentinsert(3:)
}
}
}?>">
<option value="" <?php if (!(strcmp("", (ValidatedField("contentinsert","ProductDropship"))))) {echo "selected=\"selected\"";} ?>>Select Type</option>
<option value="0" <?php if (!(strcmp("0", (ValidatedField("contentinsert","ProductDropship"))))) {echo "selected=\"selected\"";} ?>>Stock Item</option>
<option value="1" <?php if (!(strcmp("1", (ValidatedField("contentinsert","ProductDropship"))))) {echo "selected=\"selected\"";} ?>>Dropship Item</option>
</select>
thanks
jamie