Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Check if form field action exists, help required please...

Contributor ,
Nov 18, 2022 Nov 18, 2022

Hi there,

 

I know how to set a custom format/keystroke/validation script, using setAction, on a form field using JS.

Is there a way to check if one already exists on any of them using JS?

I don't want to process a field if there is any code there.

 

Thanks in advance.

TOPICS
Mac
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 18, 2022 Nov 18, 2022

No, it's not possible with a script.

Translate
Community Expert ,
Nov 18, 2022 Nov 18, 2022

No, it's not possible with a script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 18, 2022 Nov 18, 2022

That's a pity.

I need to add a script to a large number of form fields, via the Debugger, but don't want to affect any that have one already.

I don't need to know what the script is, just if one exists.

Thanks for the help.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 18, 2022 Nov 18, 2022

Not possible, either.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 18, 2022 Nov 18, 2022

(not with a script, at least)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 18, 2022 Nov 18, 2022

Thanks 👍

Presume I'd need a plugin to do it? Or, some other code - Java, C# ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 18, 2022 Nov 18, 2022

Is is possible to list all properties and methods of an object in the Debugger?

Thanks in advance.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2022 Nov 23, 2022
LATEST

"Is is possible to list all properties and methods of an object..."

You can use the FormReport plugin which is part of my free abracadabraTools, it lists all fields properties in a CSV file:

https://www.abracadabrapdf.net/?p=972

 

Capture_2211240015.png


Acrobate du PDF, InDesigner et Photoshopographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines