locked
Validating user input RRS feed

  • Question

  • User-1015186476 posted

    Hi,

    I have written a logic in vb.net for converting the value entered as string into currency. 

    For example,

    1M = 1,000,000,000

    1T = 1,000

    1H = 100

    I have written the logic in textbox_validating property. Now, the need is that i have to restrict the user from entering values other than M,T and H. Also, if M,T and H are already entered, the user shouldn't be allowed to enter it again.

    For example, the user shouldn't enter 1MM or 1TT or 1RR.

    Kindly do the needful.

    Monday, March 18, 2013 11:41 PM

Answers

  • User-1360095595 posted

    Use a dropdown for the M T or H and a textbox for the number. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 18, 2013 11:45 PM