11 Replies Latest reply on Apr 19, 2017 2:14 PM by Joey Forcelli

    Need Help With a Velocity Script

    Joey Forcelli

      Hey All,

       

      I am trying to put together a simple script to populate an image url based upon a integer value.  I essentially want 1 image if the value is greater than 0 and a default image if the value = 0.  I tried using the below script but it did not work (I have replaced the actual URL with place holder text for demonstration purposes only).

       

       

      Now, if I set the "highest score" equal to XX, the script will work for leads with a highest score field value = XX.

       

       

      Once I have this part figured out, I will also need to add an OR statement to check if "highest score 2" > 0

       

      Sanford Whiteman - Hoping you can help me out.

       

      Thanks in advance.

       

      -JF