Redirection -Alert
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022 02:07 AM
Hi ,
As I want to show the alert in the form (currently not in use ) & need to mention the URL also in that alert message , so that user can click on that link while showing the alert .
But in alert we could not mention link .
Is there any possible way anyone could suggest .
Thank you !
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022 03:53 AM
Sure is! You can use the buttons:[] option for that:
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var url = 'Click <a href = "https://www.google.com">here</a> to be redirected';
spModal.open({
message: url,
title: 'URL redirect Modal',
buttons: [
{label:'OK', primary:true}
]
});
}
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022 03:17 AM
Hello,
On the Portal on which page do you want to show the alert?
Thanks.