In Big Sexy Poems, I have an Alpine.js directive that binds to my ColdFusion forms, listens for the submit event, and prevents accidental double-submission by setting a flag and disabling the submit button(s). After I started using this directive, I noticed that my forms would remain disabled when I navigated back to them using the browser’s Back Button. This is because the browser pulls the ColdFusion form page out of the “bfcache”, which re-renders whatever state the page was in at the previou…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help