Skip to content

LittleBlueDot/angular-reactive-form

Repository files navigation

Form Exercise

Build a form using Angular's ReactiveForms approach with the following structure:

  • Name
  • Email
  • Birthdate
  • Phone
  • Tax number
  • Submit button

My image

Every field should use native input elements and are required.

The "Email" field only accepts valid emails.

The "Birthdate" field does not accept dates in the futures.

The "Phone" field only accepts 9 digit numbers.

The "Tax number" field only accepts valid portuguese Individual Identification Number (Número de Identificação Fiscal (NIF) )

When submitting, the fields with invalid values should appear with a red background.

If all fields are valid, the page should refresh.

The exercise uses Bootstrap 5.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

About

A form using Angular's ReactiveForms approach.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published