Angular Integration
Integrate FormSync into your Angular application using the FormSyncService.
Install the Package
Install FormSync using your preferred package manager:
Terminal
You can also use npm, yarn, or bun.
Usage with Angular
FormSync provides a FormSyncService for Angular that can be injected into your components. It utilizes Angular's signal for tracking the loading state.
Example
Angular Component Example
Configuration
The submit method takes FormData and FormSyncConfig:
| Prop | Type | Required | Description |
|---|---|---|---|
formId | string | true | Your unique Form ID from the dashboard. |
onSuccess | function | false | Callback triggered on successful submission. |
onError | function | false | Callback triggered when submission fails. |
baseURL | string | false | Optional custom API base URL. |
How is this guide?
Last updated on April 24, 2026