Angular logo

A backend for your Angular forms

Keep full control over the look and feel of your Angular forms.

Angular is a TypeScript-based open-source web application framework.

Getting started with Angular is simple

Start collecting data in a matter of clicks.

Let Formspark take care of the servers, databases, and analytics.

Set up any form in seconds.

tsx
import { Component } from "@angular/core";
import { HttpClient } from "@angular/common/http";
import { FormBuilder, ReactiveFormsModule } from "@angular/forms";

const FORMSPARK_ACTION_URL = "https://submit-form.com/your-form-id";

@Component({
  selector: "app-contact-form",
  standalone: true,
  imports: [ReactiveFormsModule],
  template: `
    <form [formGroup]="form" (ngSubmit)="onSubmit()">
      <textarea formControlName="message"></textarea>
      <button type="submit" [disabled]="form.disabled">Send</button>
    </form>
  `,
})
export class ContactFormComponent {
  form = this.formBuilder.group({ message: "" });

  constructor(
    private formBuilder: FormBuilder,
    private http: HttpClient,
  ) {}

  onSubmit() {
    this.form.disable();
    this.http.post(FORMSPARK_ACTION_URL, this.form.value).subscribe({
      complete: () => {
        this.form.enable();
        this.form.reset();
      },
    });
  }
}
Start collecting submissions with Formspark

Formspark is a reliable backend for your forms.

Keep full control over the look and feel of your forms.

Let Formspark take care of the rest.

No credit card required