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

60

Likes

translate

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

Adobe Community Professional , 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

Likes

translate

Translate

Translate
Adobe Community Professional ,
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

Likes

translate

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

Many Thanks, !! all right

Likes

translate

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