Published on : 2017-04-14 12:21:57

I can t figure out how to cancel the textbox2 textbox validating menu click. [a-zA-Z]{3}$ ;                           return result;                     {                         return result; = http://schemas. Enter Bill in the first textbox, and Gates in the second textbox. First, do this: Add a new textbox to your form With the textbox selected, locate the Name property in the Properties area: The current value of the Name property is Textbox2. Delete the default text, and just leave it blank. If you see any error messages, stop the programme and look for the wiggly lines in your code.

They still can t leave the form until all of the fields are filled in correctly. You now no longer have a textbox with this name. click(function validate() { var name = $( # ). as this is part of a highly complex application i won t be able to provide an in-context example which shows/reproduces this behavior without posting huge parts of the source as well. Bruce, thank you very much for your answer. I am using the Validating/Validated events to check the contents.

This way the end user can tab through the fields in order, or use the mouse and move around the form in whatever order they want. ErrorTemplate= {StaticResource ResourceKey=eTemplate} HorizontalAlignment= Left Margin= 198,71,0,0 Name= Name VerticalAlignment= Top Width= 120 FontSize = 15 > = PropertyChanged /> TextBox Height= 23 Validation. org/1999/xhtml > Untitled Page