- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 04:56 AM
Hi,
I have a variable named proxy and it has 4 options None, Yes, No, Not applicable. Whenever the user selecting Yes under the field I want a message "Archer request required" should populate. How to do that can anyone pls help. Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 05:35 AM - edited 09-17-2024 05:55 AM
Hi @Raji15,
Containers are used to display variables either as a single field in a row or two fields in a row.
I Tried in my PDI , It is Working Fine
The issue is not related to the containers. Please review the backend values of the variables and choices, and try again.
Thanks and regards,
Badrinarayan"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 05:00 AM
@Raji15 @You can implement this with field message please refer below post.
Please mark my answer correct and helpful if this works for you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 05:15 AM
@Raji15 You need to create an onChange client script on Proxy variable as follows.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
// Check if the new value is 'Yes'
if (newValue === 'Yes') {
// Show a field message under the variable
g_form.showFieldMsg('proxy', 'Archer request required', 'info');
} else {
// Clear the message if the value is not 'Yes'
g_form.hideFieldMsg('proxy');
}
}
Please mark my response helpful and accepted solution if it addresses your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 05:31 AM
Not working. The variable is inside the container. Is that cause any problem may be?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2024 05:42 AM
@Raji15 Shouldn't be an issue even if the variable is inside a container. Could you please share the variable name and the script you are tryring.