Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
I am having an issue when entering currency in a form built by phprunner.I enter 125,000 and it stores 125.00 in the database. I know this is probably an issue with the comma, but isthere a work around so the user can enter either $125,000 or 125,000 and have the correct amount stored?As always, thanks,-Rob
Rob,you can adapt the user-entered currency values before putting them to the database.Modify generated ..._add.php and ..._edit.php files for this.Find this snippet there:
$value=postvalue("value".$akey);
and put the following just after:
if($field=="CurrencyField")
where CurrencyField is your actual field name.