Help regarding custom dialogs please...

Dec 28, 2020

Copy link to clipboard

Copied

Hi there,

Please can someone help me with this query.

Can app.browseForDoc() and a text input field be used together on the same custom dialog?

I can do each of the two as separate parts of a process, I just wondered if they could be combined.

Thanks in advance.

TOPICS
Acrobat SDK and JavaScript, Mac

Views

48

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

Help regarding custom dialogs please...

Dec 28, 2020

Copy link to clipboard

Copied

Hi there,

Please can someone help me with this query.

Can app.browseForDoc() and a text input field be used together on the same custom dialog?

I can do each of the two as separate parts of a process, I just wondered if they could be combined.

Thanks in advance.

TOPICS
Acrobat SDK and JavaScript, Mac

Views

49

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
Dec 28, 2020 0
Dec 28, 2020

Copy link to clipboard

Copied

Yes. You can use a dialog object with a button that calls browseForDoc and then write the result to a text field within that dialog, plus any additional fields you want it to have.

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...
Dec 28, 2020 0
Dec 28, 2020

Copy link to clipboard

Copied

Hi there Try67,

Thanks for the help.

I was going to use the browseForDoc to give me a base path. The user will enter a number into the text field that is used in a process. So, the browseForDoc will be one part of the data entry and the textfield the other, both in the same dialog. Is that still posible?

Also, if it is possible I'm going to put all of this into a custom menu item. That being the case I presume I'll have to make the browseForDoc part a trusted function?

Thanks again for your help.

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...
Dec 28, 2020 0
Dec 29, 2020

Copy link to clipboard

Copied

Correct on both accounts.

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...
Dec 29, 2020 0
Dec 29, 2020

Copy link to clipboard

Copied

Thanks again for the help and the confirmation.

Now to set off on my voyage of discovery.

Cheers!

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...
Dec 29, 2020 0
Dec 29, 2020

Copy link to clipboard

Copied

How have you posted at Dec 28, 2021 ?

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...
Dec 29, 2020 0
try67 LATEST
Dec 29, 2020

Copy link to clipboard

Copied

It's a bug in the forums system. We noticed it last year too around the end of the year, and reported it, and even described the exact cause and how it should be fixed, but it has not been fixed since then (surprise surprise)...

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...
Dec 29, 2020 0