Skip to content

docs: Add form lifecycle callbacks section to README#416

Draft
ajaysubra wants to merge 4 commits intorel/4.4.0from
docs/form-lifecycle-hooks-readme
Draft

docs: Add form lifecycle callbacks section to README#416
ajaysubra wants to merge 4 commits intorel/4.4.0from
docs/form-lifecycle-hooks-readme

Conversation

@ajaysubra
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new Form Lifecycle Callbacks subsection to the In-App Forms documentation
  • Covers registerFormLifecycleCallback, the three FormLifecycleEvent values, and unregisterFormLifecycleCallback
  • Adds the new anchor to the table of contents

Notes

Kept separate from the feature PR (#414) so it can be merged after the feature is released and the version number is confirmed.

🤖 Generated with Claude Code

@ajaysubra ajaysubra added the do-not-merge Indicates a pull request is not yet ready for merging label Feb 25, 2026
Update the registerFormLifecycleCallback example to use the (event, context)
signature, add FormContext import, and show accessing context.formId and
context.formName.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@ajaysubra ajaysubra changed the base branch from master to feat/form-lifecycle-hooks March 19, 2026 18:55
…cks section

- Add Java code blocks using KlaviyoFormLifecycleCallbacks static API
- Remove unused FormContext and FormLifecycleCallback imports from Kotlin snippet

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@evan-masseau evan-masseau force-pushed the feat/form-lifecycle-hooks branch 2 times, most recently from 19c34d9 to 3cdf780 Compare March 30, 2026 20:46
@evan-masseau evan-masseau force-pushed the feat/form-lifecycle-hooks branch from add6a89 to 501b323 Compare April 7, 2026 02:24
Base automatically changed from feat/form-lifecycle-hooks to feat/form-hooks-and-deep-link April 7, 2026 16:46
@evan-masseau evan-masseau force-pushed the feat/form-hooks-and-deep-link branch from f0e101e to f7d631a Compare April 14, 2026 21:22
Base automatically changed from feat/form-hooks-and-deep-link to rel/4.4.0 April 15, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge Indicates a pull request is not yet ready for merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant