Expand my Community achievements bar.

SOLVED

Drop down boxes

Avatar

Former Community Member

Hello,

I have a drop down box with 5 options. When the user clicks on the option they want the section comes up and the fields that are set to mandatory show as mandatory (have red boxes around the fields). When the user tabs over to the drop down box and uses the arrows on the keyboard to make a selection the mandatory fields do not show. Can anyone tell me how to fix this?


Thank you!

NikDk

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Here is a sample that works with the script in the exit event of the dropdown, either using the mouse or arrow keys:

https://acrobat.com/#d=Leiq4g-*VcG7cIRRYuU6LA

Does that help?

Niall

Assure Dynamics

View solution in original post

5 Replies

Avatar

Level 10

Hi,

In the dropdown, where do you have the script?. In the click event?

Try moving the script to the exit event, as this should work once the focus moves off the dropdown.

Good luck,

Niall

Assure Dynamics

Avatar

Former Community Member

Hello,

Thank you for your response. I tried moving it to the exit event and it is still not working.

Avatar

Correct answer by
Level 10

Hi,

Here is a sample that works with the script in the exit event of the dropdown, either using the mouse or arrow keys:

https://acrobat.com/#d=Leiq4g-*VcG7cIRRYuU6LA

Does that help?

Niall

Assure Dynamics

Avatar

Former Community Member

Hi Niall,

Thank you for your help. I checked out the example and it does the same thing. But, I see that when you tab over to the section  or click on one of the fields in the section the red boxes automatically come up. So, I don't need to make any changes thankfully.


Thank you for your help!

Nicole