Share via

security concerns for tooltips

Ramya Gollapudi 1 Reputation point
2021-06-07T10:16:52.71+00:00

We have a requirement to show the tooltips on ASP.Net WebApplication. This tooltips would contain the information about the Regular Expression. For eaxmple: First Name Textbox: Hover on this text box, there should be a tool tip that contains text like this - A-Aa-z0-9@# etc.

There are two options here:
Display the regex on the hover of textbox
Include a icon near to label. The Regex would be displayed on hover of that icon.

Wanted to know which option is best and why.

Developer technologies | ASP.NET Core | Other

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.