Activity Forums Salesforce® Discussions Function not returning value.please see the code?

  • Ravi

    Member
    July 18, 2016 at 8:49 am

    Hi Tanu,

    I don't think of  ISNUMBER() function in java script.

    If you want to  check whether a value is Number use Javascript isNaN() function . This function will return false if a  It's a number.

    var r = isNaN({!Contact.CustomField});
    alert(r);

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos