Skip to content

v4.21.0

Compare
Choose a tag to compare
@rjcorwin rjcorwin released this 17 Nov 20:19
· 470 commits to master since this release
  • Add support for new events on tangy-form ( resubmit, after-resubmit, after-submit) and corresponding attribute hooks ( on-resubmit, on-after-resubmit, on-after-submit).
    • submit event no longer calls after unlocking and submitting a form, resubmit is called. This ensures on-submit hook logic is only ever called once, not again after unlock. To run logic after an unlock, add logic to on-resubmit.
    • after-resubmit and after-submit are called after submit and resubmit have finished and response is marked complete. If you are saving a Tangy Form Response into a database, this would be the correct event to listen for otherwise the form response would have a complete flag set to false.