docs: place download section in angular forms validation to the top of the page (#36074)

This commit partially addresses #35459

PR Close #36074
This commit is contained in:
Sonu Kapoor 2020-03-15 15:58:34 -04:00 committed by Kara Erickson
parent 76d86d5a07
commit 9a0a90feb3
1 changed files with 6 additions and 5 deletions

View File

@ -1,14 +1,17 @@
# Form validation # Form validation
Improve overall data quality by validating user input for accuracy and completeness. Improve overall data quality by validating user input for accuracy and completeness.
This page shows how to validate user input in the UI and display useful validation messages This page shows how to validate user input in the UI and display useful validation messages
using both reactive and template-driven forms. It assumes some basic knowledge of the two using both reactive and template-driven forms. It assumes some basic knowledge of the two
forms modules. forms modules.
<div class="alert is-helpful">
For the sample app that this page describes, see the <live-example></live-example>.
</div>
<div class="alert is-helpful"> <div class="alert is-helpful">
If you're new to forms, start by reviewing the [Forms](guide/forms) and If you're new to forms, start by reviewing the [Forms](guide/forms) and
@ -336,5 +339,3 @@ With reactive forms:
```typescript ```typescript
new FormControl('', {updateOn: 'blur'}); new FormControl('', {updateOn: 'blur'});
``` ```
**You can run the <live-example></live-example> to see the complete reactive and template-driven example code.**