Can anybody help with an issue I have on the page below. I have set up several collections and trying to create a form which can post individual information and preset info taken from the collection.
A link below is a test of one of the products and if you click the ‘RESERVE THIS WATCH NOW’ button you will see what I’m trying to do.
Hi Chris, I currently use a similar solution via Zapier and I couldn’t get it to work. My issue is when I send a test of the form it doesn’t show the Success message/Error Message due to the embedded code to post the individual info? I hope that makes sense? kind regards David
Yup! You need to bind any custom code to your elements.
// replace with your form ID
const form = document.getElementById('profile-form');
// set the Webflow Error Message Div Block ID to 'error-message'
let failureMessage = document.getElementById('error-message');
// set the Webflow Success Message Div Block ID to 'success-message'
let successMessage = document.getElementById('success-message');
Make these lines of custom code match your element id’s and you’ll be good to go!
Understandable. My code is copy / paste ready and then just adding your ID’s to it, but I get it, it can be very overwhelming.
My recommendation would be to post on the “freelancer” channel and pay someone to wire it up for you. It should be quick for someone who’s already familiar with all of this, and even more so if you point them to this thread.