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

javascript

Explorer ,
Jun 20, 2017 Jun 20, 2017

Siempre introduzco las mismas secuencias de comandos JavaScript  en los documentos PDF de acrobat.

Es decir, en cada documento PDF, tengo que añadir los scripts cargar_municipios y validacion_general.

Me gustaría poder hacer esto automáticamente, para no tener que hacer siempre lo mismo en todos los formularios.pdf

Un saludo

Muchas gracias

TOPICS
Acrobat SDK and JavaScript
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 , Jun 27, 2017 Jun 27, 2017

In the Action Wizard create an action where you use the JavaScript method addScript.

Open the form in Adobe Acrobat and execute the action. Now you have the scripts in your form.

Translate
Community Expert ,
Jun 20, 2017 Jun 20, 2017

You can use the JavaScript method addScript.

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
Explorer ,
Jun 27, 2017 Jun 27, 2017

gracias por la respuesta

Pero no se como hacerlo, para que al abrir el PDF, ya aparezca el script ->cargar_municipios y validación_general

Así, luego solo tengo que poner el campo NIF y no tengo que copiar de nuevo el javascrit que ya esta contenido en validación_general

un saludo

Eduardo

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 ,
Jun 27, 2017 Jun 27, 2017

In Adobe Acrobat Pro you can create an action with the Action Wizard.

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
Explorer ,
Jun 27, 2017 Jun 27, 2017

gracias por la respuesta

Pero no se como hacerlo, para que al abrir el PDF, ya aparezca el script ->cargar_municipios y validación_general

Así, luego solo tengo que poner el campo NIF y no tengo que copiar de nuevo el javascrit que ya esta contenido en validación_general

un saludo

Eduardo

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 ,
Jun 27, 2017 Jun 27, 2017

In the Action Wizard create an action where you use the JavaScript method addScript.

Open the form in Adobe Acrobat and execute the action. Now you have the scripts in your form.

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
Explorer ,
Jun 27, 2017 Jun 27, 2017

no me funciona el método addscript

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 ,
Jun 28, 2017 Jun 28, 2017
LATEST

What did you use there?

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