Another method is to display what they've entered as part of a 'confirmation page'.
The problem here is that you're making the password visible in the browser, browser cache, proxy, etc.
If the purpose of registration is to confirm that the person exists, and that they have supplied a valid email address, then as part of the registration process you a should email them either: a random password; or a confirmation token.
The final thing to note is that each of the three fields has a corresponding logic (which is run on submit remember) checks for name and age only as movie is optional. Don’t forget that on a successful submission it’s going to POST to a temporary URL.
If they are empty we check each and set a specific error for each. See the Pen form validation 1 by Raymond Camden (@cfjedimaster) on Code Pen.
While this cookbook entry focused on doing form validation “by hand”, there are, of course, some great Vue libraries that will handle a lot of this for you.
Switching to a prepackage library may impact the final size of your application, but the benefits could be tremendous.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.