Hello everyone,
I have a text box where I would like to restrict the entry to numbers AND to the sign "-" (minus). The options I can think of are:
- either we type a character other than these, it receives an alert,
- or if we have typed the numbers AND another sign than the "-", in the background the typed sign is replaced by "-"
Thank you in advance for your suggestions.
I have a text box where I would like to restrict the entry to numbers AND to the sign "-" (minus). The options I can think of are:
- either we type a character other than these, it receives an alert,
- or if we have typed the numbers AND another sign than the "-", in the background the typed sign is replaced by "-"
Thank you in advance for your suggestions.