7 Replies Latest reply on Aug 7, 2017 11:31 AM by Bernd Alheit

    Displaying Field Based on Value Range

    Jymnazium Level 1

      In my form, I'm trying to display a text box based on the value entered in another field (labeled Rating) falling into the range of 3.5 to 5.0. I've done a lot of research and everything I found says that the jscript code below should do what I want, but clearly I'm missing something as it has no effect. Note, I'm putting this as a custom calculation script in the box I want to show/hide.



      if ((this.getField("Rating").value > "3.5") || (this.getField("Rating").value < "5")){

      event.target.display = display.visible;



      event.target.display = display.hidden;




      Anyone have any idea what I might be doing wrong?