Skip to content

Changelog

25 March 2026

  • submitForm API changed — the formId parameter is replaced by url. Pass form.action (or the full endpoint URL directly) instead of a bare Form ID.
    // Before
    submitForm({ formId: 'abc123', data: new FormData(form) })
    // After
    submitForm({ url: form.action, data: new FormData(form) })
  • SubmitResult.redirect removed — the return value no longer includes a redirect field. Handle redirects in your own success handler if needed.
  • SubmitResult.status added — the HTTP status code is now returned alongside ok and message.
  • Forms now connect to Formtress via the standard HTML action attribute (https://app.formtress.com/api/f/your-form-id) rather than a data-ft attribute. This means forms work without JavaScript by default.
  • The Webflow script is now purely progressive enhancement — it detects forms whose action points to Formtress and intercepts them to show Webflow’s native success/error states. Without the script, the form still submits successfully.
  • The data-ft attribute is no longer used or required.

Initial releases. Forms were connected via data-ft="your-form-id" on the form element. The Webflow script intercepted all tagged forms and posted to the Formtress endpoint.