Hi,
im using realestatemanager Pro
is it possible validate "Price on Request" on field the price?
I tried to make some adjustments in the file administrator / components / com_realestatemanager / realestatemanager.html.php
regarding the following string
isValidPrice function (str) {
myregexp = new RegExp ('^ [0-9A-Za-z] * . {0.1} [0-9] * $ "
;
mymatch = myregexp.exec (str);
if (str == ""
return true;
if (str == "0.00"
echo "price on request";
if (mymatch! = null)
return true;
return false;
}
but I did not succeed.
waiting for a kind reply,
Yours sincerely,
Antonino