Setting the annotation of a catalog variable using a client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2023 04:05 AM
Is it possible? If so, how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2023 05:59 AM
Hello @kim-lindgren
Greetings!
you can add the Annotation in variable and hide and display the Annotation based on conditions.
refer:
Another Tip:
you can use label variable and set it near the variable you want. that is to easy show/hide.
Please hit the thumb and Mark as correct based on Impact!!
Kind Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2023 06:04 AM
Thanks but your example only hides the annotation. I want a solution that can change the content of the annotation using an onChange client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2023 01:24 AM
Were you able to get this done? If so, please let me know how did you do this..
Regards,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2023 11:23 PM
No, I had to use g_form.showFieldMsg() and hideFieldMsg() instead, which worked well enough for my purposes.