Delete field contents on update if form value <> 3
Hi Ray
When updating a form, is it possible to delete the contents of a field (in this case selfdescribe) if the value of another field does not = 3, but if it does, update the contents of selfdescribe?
Can you wrap the following update in a 'show if' code?
$UpdateQuery->bindColumn("selfdescribe", "s", "".((isset($_POST["selfD"]))?$_POST["selfD"]:"") ."", "WA_DEFAULT");
Cheers
Chris