Looking for something that we are missing?
Please share your thoughts below as we are continuously improving our solution.
Webflow allows you to set up websites easily with a no-code strategy.
The integration between Happyning and Webflow allows you to publish public RSVP forms to receive the replies from your event guests via your own website on Webflow.
This integration makes it extremely easy to have guests for your event sign up directly from your own website and be registered in to the Happyning event that you have created, where you can continue to track guests and publish information about the event to them.
Retrieve the public signup link that is available within your event:
Decide on which page you want the RSVP form of your event to be available. This is where you will set up the form that will be integrated with your Happyning event.
Create a form with the following field types and name's (it is important to use exactly these names):
On the Form settings, apply the following:
On the Form settings for the Action field:
Next, navigate to Projects settings inside Webflow and open the section Custom code.
Here you will paste the below snippet in to the Footer code in order to activate AJAX on the form used for Happyning.
After this your are all set!
<script type = "text/javascript" >
/* Identify Happyning forms */
$('form[action*="hpy.at"]').each(function(i, el) {
form = $(el);
form.submit(function(e) {
/* stop the form from submitting */
e.preventDefault();
form = $(e.target);
parent = $(form.parent());
action = form.attr('action');
/* submit the form via ajax */
$.ajax({
url: action,
method: "POST",
data: form.serialize(),
dataType: "json",
success: function(data) {
/* successful submission - hide the form and show the success message */
parent.children('form').css('display', 'none');
parent.children('.w-form-done').css('display', 'block'); },
error: function() {
/* failed submission - show the failure message */
parent.find('.w-form-fail').css('display', 'block');
}
});
});
});
</script>
The error message displayed in Webflow if the submissions goes wrong is limited to be generic and can't contain details.
Happyning is validating the submission carefully to make sure the guest information is accurate and proper.