4 Replies Latest reply on Jun 10, 2014 7:23 PM by compassanesthesia

    Simple IF javascript for dropdown, populates two different fields


      I don't write js, but can grasp what it's doing when I snag a sample to edit and re-purpose. I have a simple fax form that already resets on open. Here's all I'm trying to do:


      User selects sender name from dropdown list of about 15 (will grow w/ time)


      Populate next text field "Sender Fax #" with user's direct fax number (xxx-xxx-xxxx in the js)


      Also populate subsequent text field "Sender Ph #" with user's direct ph number (xxx-xxx-xxxx in the js)