locked
Field validation guidelines

    Question

  • Hi,

    which are the guidelines for field validation in Xaml Metro Style Apps?
    Where do we have to show validation errors?

    1) Like in Silverlight with highlighted border and validation message in a tooltip
    2) With an inline error under the filed or near the field
    3) Other solution

    With Silverlight like solution, the layout doesn't change since the validation message is in the tooltip.
    With an inline error under the field or near the filed we could have layout problems if the validation message is long.

    For Metro Style Apps in Html I found a guildeline that says to use html 5 validation that is very similiar to Silverlight validation.

    What about Metro Style Apps in Xaml?
    Do we have api for validation in Release Preview?

    Friday, June 22, 2012 3:39 AM

Answers

  • See Laying out your UI for guidelines on where to show different types of errors. For data validation inline text would generally be best.

    There isn't a Xaml API for this.

    --Rob

    Friday, June 22, 2012 6:44 PM
    Moderator

All replies

  • See Laying out your UI for guidelines on where to show different types of errors. For data validation inline text would generally be best.

    There isn't a Xaml API for this.

    --Rob

    Friday, June 22, 2012 6:44 PM
    Moderator
  • Hi,

    do you think there will be a validation API for Xaml in the final release?

    Thursday, June 28, 2012 3:27 AM