2 Replies Latest reply on Sep 16, 2015 12:23 PM by frustrared by install

    HR form to populate a text field with selections in a list box or check boxes

    frustrared by install Level 1

      I have an application form with race selection

      W - white

      B - Black

      A- Asian

      I - American (north or south)

      H - Native Hawaiian

       

      I would like to have a jave script mouse up event to insert the choice or choices as a string to a Text1. Used a calculation script in the text filed that worked well, but down the stream on secondary application it causes issue, this is the code I used as calculation script

       

      var v = this.getField("LST1").value;

      if (typeof v=="object") event.value = v.join(", ");

      else event.value = v.toString();

       

      but I like to try a java script in place of it to solve the downstream application!