Z
Z
z_a_p_a_r_a2018-12-23 01:46:54
JavaScript
z_a_p_a_r_a, 2018-12-23 01:46:54

Is it possible to set a phone mask in the model?

Good day.
Is it possible somehow in the model using attributes to set the mask of a telephone number, what would be in the format ##-###?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir S, 2018-12-23
@z_a_p_a_r_a

for the client side, you can take the Inputmask
plugin, and on the server side, check the regular expression model

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question