Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Is there any way to display dynamic value in tool tip? I have tried: this.assist.toolTip.value = this.rawValue; for a text field on "mouseEnter" event but it is not displaying the current raw value. It is displaying previous raw value of the field.. Plea

Avatar

Level 1

Is there any way to display dynamic value in tool tip?

I have tried:       

this.assist.toolTip.value = this.rawValue; for a text field on "mouseEnter" event

but it is not displaying the current  raw value. It is displaying previous raw value of the field..

I have written 'AAAA' but it is not displaying it on first mouseEnter event

Capture_1.JPG

When i am performing mouseEnter event for 2nd time it is giving the right value.

Capture_2.JPG

Now I have changed the value to 'BBBB' but on first mouseEnter event it is displaying the previous value i.e. 'AAAA'

Capture_3.JPG

1 Accepted Solution

Avatar

Correct answer by
Level 1

I got the solution. I was writing the script("this.assist.toolTip.value = this.rawValue;") on "mouseEnter" event but need to write script on "Exit" event of the field.

solution.JPG

Thank you.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 1

I got the solution. I was writing the script("this.assist.toolTip.value = this.rawValue;") on "mouseEnter" event but need to write script on "Exit" event of the field.

solution.JPG

Thank you.