Hiding the Arrow of a Drop Down List on exit

Avatar

Avatar

EJobling

Avatar

EJobling

EJobling

20-02-2019

I have a form with a drop down list containing various items. Once an item has been selected i want the arrow head to disappear and then reappear on entry again. I believe the only way to do this is to make the field read only on exit and then open again on entry but i have no idea how to write that script. (still learning)!  any help would be appreciated. 

Accepted Solutions (0)

Answers (7)

Answers (7)

Avatar

Avatar

EJobling

Avatar

EJobling

EJobling

27-02-2019

It works if I tab into it, but not if i click it.

Avatar

Avatar

EJobling

Avatar

EJobling

EJobling

27-02-2019

Yeah I clicked it. I'll keep trying, hopefully its a simple fix.

Avatar

Avatar

MinusZero

Avatar

MinusZero

MinusZero

21-02-2019

Did you click it? It worked for me. Only when clicking the dropDownList did it show the arrow, you can select a different item and then it was made readOnly again. The arrow wont show when hovering over it.

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

21-02-2019

I don't know why it would not work... I'd look the JavaScript console debugger see if there's any syntax error or anything.

But the statement I provided is suppose to work.

Avatar

Avatar

EJobling

Avatar

EJobling

EJobling

21-02-2019

Magus069 thank you, the exit is just what i'm looking for.

However on enter it doesn't change back to open?

Avatar

Avatar

EJobling

Avatar

EJobling

EJobling

21-02-2019

Magus069 thank you, the exit is just what i'm looking for.

However on enter it doesn't change back to open?

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

20-02-2019

Hi there,

you got this right. Read only when exiting and open when entering. You can achieve this by using the following scripts:

You can refer to LiveCycle access' reference for values possibilities at the following link

Adobe LiveCycle ES4 * access

Hope this will help.