Copy link to clipboard
Copied
Hi all,
Can anyone help with my script?
I've taken InDesigns built-in 'Image Catalog' script and made a few amends to suit my companies way of working. However on line 80 onwards I've added a few extra fields + a dropdown to the dialog box.
Can anyone tell why it shows a 'undefined' error when running the script, even when I've clearly entered text into the boxes and chosen a dropdown option?
Its probably something simple but I'm new to scripting and pulling my hair out!
I have the script as a js. file, not sure how to paste the script in here..
Thank you
Copy link to clipboard
Copied
Hi Lucas,
You can either use the advance editor and use the code highlight option or put some http download link.
Loic
Copy link to clipboard
Copied
Thanks, I've tried pasting in but got an error - have a link below though showing code if this helps anyone;
http://www.critterprint.co.uk/Cheese_Rollout_Proofer_2.0.jsx
The form I've added has fields 'Client' 'Project Name' 'Traveller Number' 'Proof Number' 'Printer' 'Substrate' 'Finishing' 'Notes'
Copy link to clipboard
Copied
Hi,
It seems you are trying to call a non valid property :
var myClientName = field1.editValue;
To access the text value, you have to use
var myClientName = field1.editContents;
HTH
Loic
Find more inspiration, events, and resources on the new Adobe Community
Explore Now