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

Please help!! About Tab order

Community Beginner ,
Mar 01, 2023 Mar 01, 2023

I run a custom validation script that I should type something on the field to show the right-side field (but I should hit ''enter" after typed to show) 

 

That mean if I hit without "enter" then directly hit "tab", it will guide me to the below field.

 

Can I do something to show the right-side field while I am typing on the field (skip hitting "enter"), so that I can tab to that field directly.


As you can see: I type 123123--> enter-->the right-side field will be shown 

 

 

 

 

92708F67-0DA6-4B0C-B759-12CAF6D2446B.gif

EDCA1037-6B60-4AA2-A82B-2A0495EE2543.jpeg

TOPICS
Create PDFs , How to , JavaScript , PDF forms
1.3K
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 ,
Mar 01, 2023 Mar 01, 2023

Yes, you can do that. Let's say the field name you wish to show is "Text2", you can use this as 'Custom keystroke script' under 'Format' tab, when you put script it will disappear, but it will still work:

if(AFMergeChange(event).length != 0) this.getField("Text2").display = display.visible;
else
this.getField("Text2").display = display.hidden;

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 Beginner ,
Mar 02, 2023 Mar 02, 2023

Your reply is really useful, not only this one!! Thanks a lot!!

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 Beginner ,
Mar 02, 2023 Mar 02, 2023

By the way, is the font size of the options inside the dropdown list depending on the field size? It's too small, can I adjust a bigger font size?

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 ,
Mar 02, 2023 Mar 02, 2023
LATEST

It would depend on fields size only if it's set to 'Auto'.

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