How to change "instructions" value of a element via script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 12:35 PM
Hello Everyone,
How can i set the "Instructions" value of an element via script? my requirement is to change this value on the fly based on the account.
I am not sure which property or method to use to set this value? Any help please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 12:37 PM
Not sure if that's possible without DOM.
You'll be better off using g_form.showFieldMsg()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 01:43 PM
Thanks, Mike, this helps. I am able to display the field message, but this disappears as soon as a click on the form happens. is there a way to make this message stick?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 01:49 PM
Are you using an onLoad client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 01:51 PM
yes i am