Mirror input data back to the user JavaScript and PHP Forms JavaScript Forms


show more Mirroring input data back to the user provides you with in-depth training on Developer. Taught by Ray Villalobos as part of the Validating and Processing Forms with JavaScript and PHP show less
please wait ...

Mirroring input data back to the user

Our form has a bit of a problem. Although the validation feedback is awesome, we need to mirror the input from the form, back into the form. Otherwise when users make an error, the form will not send them back any of the fields they've already filled out. So let's see that at work. If we come over here to the form, and we just fill something out, I'll put in my name and I'm going to hit the Send button. In where is it tells me that the error that I forgot to put this in the right format. But I don't see my name anymore. so I would have to type that in, it's not such a big deal right now because obviously I have to retype that information.

so I'll type it in the right format and then I'll put in a password that's just three letters. I'm going to hit Send and now it tells me that the name was fine, but it deleted it because it didn't remember it. And the password has to be six characters, and it deleted that as well. So, that's ...

Mirroring input data back to the user
Video duration: 7m 46s 2h 51m Intermediate

Viewers:

Mirroring input data back to the user provides you with in-depth training on Developer. Taught by Ray Villalobos as part of the Validating and Processing Forms with JavaScript and PHP

Subjects:
Developer Web
Software:
JavaScript PHP
Author:
please wait ...