I forked a pen and I am wondering if someone can help me understand how this notification would work if applied to a website. What I want is for a user to click the form submit button and then a notification appear in the top right (as done in the pen) BUT I want everyone who is on the website at the time to see it.
Is this even possible without refreshing the page? Just trying to understand how this could be done.
I’m looking for a “live” elements to add to my site. Does anyone have any experience or suggestions on something that can be done within Webflow?
What the codepen does is load a list of notifications on page load, then show one at a time to the user. There isn’t a realtime notification system there.
For realtime notifications from all users, you will need a private server and websocket technology. Cannot do this just with Webflow alone.
@moofawsaw I don’t think you can run the PHP script in Webflow?
But Pusher.com has the functionality needed to do what you are saying. The question is, how to integrate that with Webflow? I think you would need to export your Webflow site and host on your own server. Then implement something like this Pusher.
Webflow can handle the part to get/display the notifications as you can code them using JavaScript, but you still need the central server to store and push them out.
@moofawsaw You wouldn’t need to connect it to the “Submit Button” The Webflow Zap allows you to trigger something when a form submission is created. You’d connect it to the form through Zapier. it gives you an outline to map the fields. Try it out!
Hope the past 6 years have been great for you all. I’m sure there wasn’t some kind of weird 2 year void there or anything.
Quick question… did anybody figure this one out?
Thanks!!