# Ionic from validation problem

**URL:** <https://forum.ionicframework.com/t/ionic-from-validation-problem/188505>\
**Category:** Ionic Angular\
**Created:** [April 30, 2020, 3:12pm UTC](https://forum.ionicframework.com/t/ionic-from-validation-problem/188505 "2020-04-30T15:12:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tytom2003](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@tytom2003](https://forum.ionicframework.com/u/tytom2003)\
**Post date:** [April 30, 2020, 3:12pm UTC](https://forum.ionicframework.com/t/ionic-from-validation-problem/188505/1 "2020-04-30T15:12:20Z")

</div>

i follow below website to write a apps about from validation.  
i copy Home.html to my apps(.\src\app\home.page.html) and Home.ts (.\src\app\home.page.ts). It show white page. How to solve the issue? thank you very much.

[https://ampersandacademy.com/tutorials/ionic-framework-version-2/form-validation-with-error-message-example-using-the-angular-validators](https://ampersandacademy.com/tutorials/ionic-framework-version-2/form-validation-with-error-message-example-using-the-angular-validators?fbclid=IwAR0JE6-t61rypNDX-kkE3Kr8Xfq9JEt2e2f80ZrNvcuVbJtQvoTqSLfoF6w)

 ![ionic](https://global.discourse-cdn.com/ionicframework/original/3X/6/c/6c58500e530ff56c524bddf2aa630df668f4ab8b.jpeg)

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [April 30, 2020, 6:12pm UTC](https://forum.ionicframework.com/t/ionic-from-validation-problem/188505/2 "2020-04-30T18:12:21Z")

</div>

That tutorial is ancient. I would recommend [the official Angular docs](https://angular.io/guide/form-validation) instead.

---

<div class="post-metadata">

**Author:** ![tytom2003](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@tytom2003](https://forum.ionicframework.com/u/tytom2003)\
**Post date:** [May 1, 2020, 8:41am UTC](https://forum.ionicframework.com/t/ionic-from-validation-problem/188505/3 "2020-05-01T08:41:09Z")

</div>

The ionic code should write to home.page.html and home.page.ts? THANK YOU VERY MUCH.
