How to Validate a Text Field

jothis

Active Member
Licensed User
Hi

I want to know How Validate a Textbox that contain email and How Validate a Textbox that contain numbers?

Can you Help Me?
jothis
:sign0085:
 
... How Validate a Textbox that contain numbers?
Code:
   If IsNumber(Textbox1.Text) Then
      ' do something
   End If

Or use the fgTextbox from Filippos fgControls.


specci48
 
Last edited:
Thankyou specci48

I want to also know the validation of email address

Can you Help me?
jothis
:sign0085:
 
I want to also know the validation of email address

I suspect that you cannot do a full validation, but could check things like that there is only one "@" which is not the first or last character...

Mike.
 
Trying to transform the VB code according to Filippo's suggestion I noticed that the solution does already exist in the help of the RegEx library.

Attached the test program.

Best regards.
 

Attachments

Thankyou Klaus It is Working Good !
:sign0060::sign0060::sign0060::sign0060:
jothis
 
Back
Top