Mark Tabor

Mark Tabor

  • 553
  • 1.9k
  • 427.2k

Creating a Link and send to an email but don't show URL when hover

Dec 2 2020 10:02 AM
Hi i have a question , I am creating and survey form which is having start date and end date as expirty, I cam creating a link lie http://localhost:51566/EvaluationNotificationSettings/FeedbackForm?End_Date={End_Date} This end_Date is coming from method and i am sending a link to users but when the user hover this link they are able to see to entire URL and they are able to access the page even when the end date expire by changing it , how i can restrict the user not to see the date and URL any best option I checked or normal html page <a href="javascript:void(0)" onclick="location.href='http://www.google.com'"> Hide Link </a> on normal page it works but on email this Anchor tag is not clickable even in email .
 
below is my code
 
<a href="http://www.google.com">Normal Link</a>
<a href="javascript:void(0)" onclick="location.href='http://localhost:51566/EvaluationNotificationSettings/FeedbackForm?End_Date={End_Date}'">Hide
Link</a>

Answers (13)