I'm looking to display the phone number format as a placeholder in the input field, without it disappearing as the user types.
The standard HTML placeholder disappears as the user starts typing. I want the placeholder to remain visible and guide the user as they input their phone number.
<form action="payonline.html">
<input type="tel" id="phone" name="phone" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" required placeholder="___ - ___ - ____ ">
<input type="submit" value="Submit">
</form>