parsley

unchangeable leading characters in HTML input? [duplicate]

无人久伴 提交于 2019-12-25 18:25:02
问题 This question already has answers here : How can I add an unremovable prefix to an HTML input field? (15 answers) Closed 3 years ago . How do I generate an input element that has a default starting value in there that is unchangeable? For example, I am looking for a number from the user but I want '333' to be already in the input text box since all inputs will start with that number. I also don't want the user to be able to change it. I need the 333 to be part of the value also rather than