0
I have an html page made for mobile, I would like to put 2 types of mask being % Percentage and R$ Money but I need this field to be type="number" to show the cellular numeric keyboard. I’ve downloaded several masks and none I could make work that way, could help me please?
I’ve never seen anything like this, nor in text type input. What’s the problem with placing at the end of the label (%) or (R$). Type: "Enter the value(R$)" or "Enter the value in real"? This is usually how it is done. What you want to do is inject an invalid character into a field that restricts content. I’m pretty sure that’s impossible. On the W3C website it is clear "The <input type="number"> is used for input Fields that should contain a Numeric value."
– mau humor