- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2022 03:52 AM
Can help on,
Should get popup message when change select box choice in dropdown, each choice is have different popup should be populate in popup message.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2022 05:38 AM
okay then try this script
remember to put the correct choice value but not choice label while comparing in if loop like below
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if(newValue=="your_first_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_second_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_third_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_fourth _choice_value")
{
alert('your alert message');
}
}
MARK MY ANSWER CORRECT IF IT HELPS YOU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2022 05:38 AM
okay then try this script
remember to put the correct choice value but not choice label while comparing in if loop like below
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
if(newValue=="your_first_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_second_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_third_choice_value")
{
alert('your alert message');
}
else if(newValue=="your_fourth _choice_value")
{
alert('your alert message');
}
}
MARK MY ANSWER CORRECT IF IT HELPS YOU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2022 05:39 AM
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2023 10:02 AM
I have a alert box with link for dropdown values how to do this please help me