1 Reply Latest reply on May 24, 2013 1:21 PM by try67

    get value of two fields into one field




      i need little help with javascript again


      Currently i'm using code below to get value from one field to other:


      getField("Text35").value = getField("Text1").valueAsString;


      Now i'm wondering how to change this code, so i could get values from two fields into one. For example i have field "firstname" and field "lastname", now i want to show this in field "name".


      Example, if field firstname have value John and field lastname value is Doe, i want to show it in field name like "John Doe".


      I hope that u understood what i want


      Thanks for helping me!