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

Lista

Participant ,
Mar 21, 2023 Mar 21, 2023

Boa noite,

Não sei se isso é possivel ou não por se tratar de um documento em pdf.

Mas gostaria de fazer o seguinte:

Tenho uma caixa de lista (Exemplo: Cartão 1, Cartão2, Cartão3)

Gostaria de ao clicar em uma das opções o cursor ir directamente para o campo correspondente.

TOPICS
Acrobat SDK and JavaScript
357
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 , Mar 21, 2023 Mar 21, 2023

If this is a drop-down field you can use the the following as its custom Validation script (make sure to tick the box to commit the selected field automatically, under Properties - Options):

 

this.getField(event.value).setFocus();

 

Of course, this would only work if there are fields whose names are exactly the same as the items in the drop-down.

Translate
Community Expert ,
Mar 21, 2023 Mar 21, 2023
LATEST

If this is a drop-down field you can use the the following as its custom Validation script (make sure to tick the box to commit the selected field automatically, under Properties - Options):

 

this.getField(event.value).setFocus();

 

Of course, this would only work if there are fields whose names are exactly the same as the items in the drop-down.

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