Use an "else" statement beneath this condition for your invalid email actions.

jatin1726 You can use the "System|Test regex" condition to test the text in a text input box: String: Text Box.

The completed and working version of this project can be downloaded from Code Plex from here.

I will explain and provide solution on how to validate Combo Box, Radio Button controls or etc in another post soon, so please keep yourself updated on new posts here. Create a basic form with a few Text Box controls in the xaml 2.

jatin1726 In the demo I supplied the following shows as valid: ..these all show as invalid: [email protected]@[email protected]@[email protected]@[email protected]@@Hi, Can you share capx in which these formats of showing mail id is invalid. Please can you supply an email address that is working incorrectly? dl=0 Type the email address into the text box, press enter.

The capx I shared above demonstrates this as described. The text above the text box will change depending upon whether the email is valid or not. dl=0 Type the email address into the text box, press enter.

Can you give me some written examples of some emails that aren't working correctly?

jatin1726 In the demo I supplied the following shows as valid: ..these all show as invalid: [email protected]@[email protected]@[email protected]@[email protected]@@Please can you supply an email address that is working incorrectly?

Use an "else" statement beneath this condition for your invalid email actions. Do you mean that invalid email addresses with 2 "@" symbols are being marked as valid, or that emails with 2 "@" are not being allowed in the demo I supplied?

Can you give me some written examples of some emails that aren't working correctly? Do you mean that invalid email addresses with 2 "@" symbols are being marked as valid, or that emails with 2 "@" are not being allowed in the demo I supplied?

Create a class, call it Custom Validation Add the following code to your Custom Validation class: 3.

Create an Extension class (Extensions)To understand what is an Extension class and for more information about them visit my tutorial post “Extension methods in Silverlight and C#”.

The manual says that I can set the textbox type to 'email': scirra.com/manual/117/textbox But how do I validate it, and if it's non-email format, then how do I return an error? For example, tokencount("apples|oranges|bananas", "|") returns 3." I did tokencount("[email protected]", "@") to check for the number of 's (there should only be one). Regular expressions would have been better, but this kind of works. Tokencount works and you can use it to validate email address format, but you need to create several conditions: tokencount(email Text, "@")=1 tokencount(email Text, ".")0 tokencount(email Text, ",")=0 tokencount(email Text, " ")=0 etc.