Correct Javascript to return a field other than the primary key

mikesturmey

New Member
Hi,

I have a database join field to lookup data from a table using 'AutoComplete'. I want the user to be able to have the option of adding multiple records from the database sio I have added a button which takes the value from the database join element and add it to another field using:
Code:
$('migration_application___req_migrated_shell_list').value = $('migration_application___req_migrated_shell').getValue();

This however only returns the primary key, how do I specify an element to populate the field with?
Also, does anyone know how I would write a script to append multiple values to the field?

kind regards

Mike
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top