<input type="text" name="coupon_code" size="20" maxlength="50" class="coupon"
alt="<?php echo $this->coupon_text ?>" value="<?php echo $this->coupon_text; ?>"
onblur="if(this.value=='') this.value='<?php echo $this->coupon_text; ?>';"
onfocus="if(this.value=='<?php echo $this->coupon_text; ?>') this.value='';" />
The textbox is not required to be filled in, so it is optional.
Never for security or sensitive / private information.
If there is insufficient time between the AJAX returning and the user clicking submit, you could have code make a "you may have won, please wait a short while to find out" type of message,
Then when the AJAX returns the results of the check, show that.
Thank you for the suggestion. I guess I'll head towards that direction then.