Skip to main content
Answer

Show URL Blue/Underlined in a Validation rule popup

  • October 24, 2025
  • 1 reply
  • 31 views

bkrutiy
Bronze Product Expert
Forum|alt.badge.img+4

Hello, 

I am trying to use a Validation rule to block the completion of a task and redirect them to a custom action. This part was easy. However, the text in the pop up is plain text and does not show as a URL Link (Blue/Underlined). How can I fix this?

 

Here is the code I am using…

<a href="{GetCustomActionUrl(<CustomActionName>,GetRuntimeParameter($ParentProject))}" style="color: blue; text-decoration: underline;">Update Closure Notes</a>

 

I have also tried the following…

{Hyperlink(GetCustomActionUrl('CustomActionName',GetRuntimeParameter($ParentProject)),'Update Closure Notes')}

 

Both versions work but neither show the URL link with Blue/Underlined to stand out. Please advise

 

Best answer by petegush

Hi ​@bkrutiy 

The validation pop up appears to strip formatting out of the “styles” and apply the AdaptiveWork CSS for the a:visited class (if you inspect the page you can see this stripped from the link, and the a:visited CSS ).

One option is to use a <span> class to wrap around the link. This worked in my testing and underlined the link.

I used this in the Validation message:

You need to <span style="text-decoration: underline; color: #008489"><a href={GetCustomActionURL('Change start', GetRuntimeParameter(CurrentObject()))}>Update Closure Notes</a></span>

You could also target the CSS for the pop up window and update the a: CSS attributes - this would impact all links in popups and would need some testing,

One follow up - you mentioned that the text appeared as plain text; by default the link should appear in a teal colour in the pop up - if you don’t see this there may be some addiitonal CSS overwriting this somewhere. See standard screenshot below:

 

 

1 reply

Forum|alt.badge.img
  • Planview Falcons
  • Answer
  • November 11, 2025

Hi ​@bkrutiy 

The validation pop up appears to strip formatting out of the “styles” and apply the AdaptiveWork CSS for the a:visited class (if you inspect the page you can see this stripped from the link, and the a:visited CSS ).

One option is to use a <span> class to wrap around the link. This worked in my testing and underlined the link.

I used this in the Validation message:

You need to <span style="text-decoration: underline; color: #008489"><a href={GetCustomActionURL('Change start', GetRuntimeParameter(CurrentObject()))}>Update Closure Notes</a></span>

You could also target the CSS for the pop up window and update the a: CSS attributes - this would impact all links in popups and would need some testing,

One follow up - you mentioned that the text appeared as plain text; by default the link should appear in a teal colour in the pop up - if you don’t see this there may be some addiitonal CSS overwriting this somewhere. See standard screenshot below: