locked
What is the best way to validate user input.

    General discussion

  • Hello,

    What is the best way to handle input validation as there is no validator control in the framework for metro app.

    I have some basic idea listed below:

    1>To give a dialog when user clicks on submit with the missing fields

    2>Filling fields with colors when pages open so that user knows compulsory fields.

    3>To highlight textbox border with red color when user submits form.

    can u suggest some good way to handle user validation.

    Thanks in advance.


    • Edited by zee_patel Thursday, March 06, 2014 12:50 PM
    Thursday, March 06, 2014 12:50 PM

All replies

  • You may find what you're looking for in the WinRT XAML Validation project on CodePlex: panel with border, summary, and validation rules based on annotations.

    Thursday, March 06, 2014 1:02 PM