Stooney Posted December 10, 2007 Share Posted December 10, 2007 What is the best way to go about this? It is for a bidding system which only allows whole dollar amounts. All I've come up with is settype() and is_int() but settype will change their bid to whole dollar, which is not what I want. If they don't enter a valid amount, it needs to tell them to enter a valid amount, so we're never changing bids without people noticing. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/80939-check-variable-for-whole-dollar-amount/ Share on other sites More sharing options...
BenInBlack Posted December 10, 2007 Share Posted December 10, 2007 Javascript and Regex in form in Browser With check on the post page Link to comment https://forums.phpfreaks.com/topic/80939-check-variable-for-whole-dollar-amount/#findComment-410594 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.