I have a field that is being used in a calculation. In order to get the calculation right, the numeric value entered must not contain a comma. Therefore, I want the user to enter 11000 rather than 11,000.
Therefore, I put the following validate script on the field on the lead_Custom screen.
var sqft = Values('lead_bldsqft');
if(sqft > 0){
if (sqft.indexOf(',') != -1) {
Valid = false;
ErrorStr="Please enter building sqft without a comma";
}}
When I first created the script, it was working. However, it is no longer working and I cannot figure out why. Is there a service I should check to make sure it is running.
Users are in the system, therefore, I don't really want to reboot the system.
Any assistance would be greatly appreciated! Thank you!