How would I make input formatting for number prefix? : web_design

By Prosyscom
In March 9, 2018


Hey guys,

I need to make an input where the user would type his phone number. I have 2 inputs, the first one is for the prefix “+(388)”, and the second one for the phone number.

In the first one, I need to always show +(), the number between is filled by the user. But the +() never should be able to be deleted.

I tried to work with cleave.js and fieldKit but with no luck… How would you guys do this?



قالب وردپرس