javascript ( if/else) for dropdownbox witn "custom input allowed"

Explorer ,
Mar 23, 2018

Copy link to clipboard

Copied

Hello, I've created a dropdown box and clicked "custom input allowed". Each input value has an export value assigned, which then appears in a separat textfield. That works, if I select the input value via dropdown. If I write in manually nothing happens. Here the same export value should appear in the textfield. And if the customer makes an input which doesn't exist, a window should open "Check your details". Can someone help me, how and especially where I can enter this script? In the attachment my example (unfortunately you can not upload it as a pdf). Thank you in advance!

Bildschirmfoto 2018-03-23 um 09.27.44.png

Bildschirmfoto 2018-03-23 um 09.28.01.png

Bildschirmfoto 2018-03-23 um 09.28.56.png

I'm glad to say I've got the answer from someone 🙂

For all who need it:

Ergebnis.png

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

176

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

javascript ( if/else) for dropdownbox witn "custom input allowed"

Explorer ,
Mar 23, 2018

Copy link to clipboard

Copied

Hello, I've created a dropdown box and clicked "custom input allowed". Each input value has an export value assigned, which then appears in a separat textfield. That works, if I select the input value via dropdown. If I write in manually nothing happens. Here the same export value should appear in the textfield. And if the customer makes an input which doesn't exist, a window should open "Check your details". Can someone help me, how and especially where I can enter this script? In the attachment my example (unfortunately you can not upload it as a pdf). Thank you in advance!

Bildschirmfoto 2018-03-23 um 09.27.44.png

Bildschirmfoto 2018-03-23 um 09.28.01.png

Bildschirmfoto 2018-03-23 um 09.28.56.png

I'm glad to say I've got the answer from someone 🙂

For all who need it:

Ergebnis.png

TOPICS
Acrobat SDK and JavaScript, Macintosh

Views

177

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 23, 2018 0
Adobe Community Professional ,
Mar 23, 2018

Copy link to clipboard

Copied

Correct, you cannot attach a PDF file to a comment here (only images and videos are supported). To share  PDF file, you need to upload it to a file sharing site and then post the link here. You can use Adobe's Document Cloud. Instructions to do that are here:

Share Documents via Adobe's Document Cloud - KHKonsulting LLC

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 23, 2018 1
Explorer ,
Mar 23, 2018

Copy link to clipboard

Copied

vielen Dank, schauen wir ob es funktioniert hat:

Dateien freigegeben - Acrobat.com

Das wäre dann die Datei...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 23, 2018 0
Explorer ,
Mar 25, 2018

Copy link to clipboard

Copied

I'm glad to say I've got the answer from someone 🙂

For all who need it:

Ergebnis.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 25, 2018 0