I have one input box for email on my website
<input type="text" name="email" class="box" id="email" value="Enter your email">
<input type="text" name="confirmEmail" class="box" id="confirmEmail" value="Enter your email again">
By using css below we can restrict user from selecting any content
*{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
I wanted to know, is it possible to restrict user from copying their own written text in any input boxes? if yes how? I want my users to write their email two time instead of copy paste.