Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

get.Field from 2 different text fields

$
0
0

Hi,

 

I have this script i'm trying to run.

 

The purpose of the script is to get csv info from a text field.

Now the text field is maxed out character wise, so i've created a new text field (KnownInstruments2).

 

 

How do i make the script below to search in both: "KnownInstruments & KnownInstruments2? Anyone who can provide a quick answers, would be so much appreaciated

 

 

function LookupInstrument()

{

  var ins=this.getField('Instrument').value;

  var knowninstruments=this.getField('KnownInstruments').value + ";" + this.getField(KnownInstruments2).value;

  var lines=knowninstruments.split('\r');

 

Thanks!


Viewing all articles
Browse latest Browse all 12130

Trending Articles