shdwhawk
Joined: 28 Jul 2008
Posts: 8
|
| Posted: Mon Jul 28, 2008 11:59 pm Post subject: Added commas to amount, need to remove commas from Edit view |
|
|
Hello,
So i made the modification to include/utils/commonutils.php
return number_format($amount * $crate,2,'.',',');
That work great! However i now fail validation when saving a Potential. The input box doesn't take commas.
All i would like todo is add this javascript to the "amount" inputbox:
Onclick/Onblur/Onkeyup etc
"this.value=this.value.replace(',','')"
Thanks! |
|