Field validation guidelines
-
Friday, June 22, 2012 3:39 AM
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?
All Replies
-
Friday, June 22, 2012 6:44 PMModerator
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
- Marked As Answer by Min ZhuMicrosoft Contingent Staff, Moderator Friday, July 06, 2012 9:07 AM
-
Thursday, June 28, 2012 3:27 AM
Hi,
do you think there will be a validation API for Xaml in the final release?


