Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

exclGroup validation on the fly

Avatar

Level 2

Hello,

I have 29 x exclGroups consisting of 4 radio buttons each. On pressing a button, any exclGroups not having had a user-selection will have border.edge.presence = 'visible'. So when the user enters the exclGroup area, I have scripted:

xfa.resolveNode("Quiz.#subform[0].exclGroup").border.edge.presence = 'invisible';

or:

this.parent.border.edge.presence = 'invisible';

...in each radio button's mouseEnter event.

This works as expected. However, the form is on a heightened state on awareness: Pointer/hour-glass intermission, radio buttons flickering; and if the form is between pages, it jumps up half a page.

Ideally, is there a way to 'write' the mouseEnter event 'on the fly' if any of the exclGroups have not had a selection made (of course, if all exclGroups have had a selection made there is no need for the mouseEnter event)?

I've been experimenting with .mouseEnter, ::mouseEnter, but I think that event__mouseEnter may have the answer but I cannot find much on this and where to use it?

Regards,

John

0 Replies