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

Formulario con un campo de resultado automático comparando el valor de otro en una lista de resultad

New Here ,
Mar 21, 2021 Mar 21, 2021

Copy link to clipboard

Copied

Hola,

No se si esto es posible: Tengo un formulario creado Acrobat Pro DC, por ejemplo con 2 campos A y B. Necesito que el campo B se rellene automáticamente dependiendo del valor en A comparado con una lista de posibles resultados. ¿Necesito javascript? ¿alguien puede ayudar?

MUCHAS GRACIAS 

 

 

TOPICS
Create PDFs , PDF forms

Views

441

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
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 21, 2021 Mar 21, 2021

Try something like this as Validation script of field A:

var s = this.getField("B");
if(event.value == "Item1")
s.value = "Item2";
else if(event.value == "Item3")
s.value = "Item4";
//...etc

Votes

Translate

Translate
Community Expert ,
Mar 21, 2021 Mar 21, 2021

Copy link to clipboard

Copied

Try something like this as Validation script of field A:

var s = this.getField("B");
if(event.value == "Item1")
s.value = "Item2";
else if(event.value == "Item3")
s.value = "Item4";
//...etc

Votes

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
community guidelines
New Here ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

LATEST

Many Thanks, !! all right

Votes

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
community guidelines