Set characters within an input

0

Is it possible that within a input I set some fixed characters that can not be deleted? I mean, something like this:

xxxx-xxxx-xxxx-xxxx

Where x are numbers that the person enters and hyphens (-) are fixed and can not be deleted? Let it be a single input

A thousand thanks in advance for your response! :)

    
asked by Gabriela La Rosa 26.07.2018 в 20:17
source

1 answer

0

Yes it is possible, it is a mask and you can do it yourself or implement a plugin, for example this jquery: link

    
answered by 26.07.2018 в 20:25