Feb 9, 202211:07 AM - edited Feb 9, 202211:10 AM
Member
Prevent Hubspot form from disappearing after successful submission
SOLVE
Hey, I have integrated a hubspot embed form but when the form submission is successful then the form disappears with a success message. I don't want the form to disappear. Could anyone please suggest what I should do? I am using Next.js
Prevent Hubspot form from disappearing after successful submission
SOLVE
@SAkif there are two options for HubSpot forms: 1 - redirect to a URL or 2 - inline thank you message.
If neither of those options work for you I'd suggest using the Submit Data for a Form API with your own form markup. This way you can decide to show an inline message below your form or what have you.
Prevent Hubspot form from disappearing after successful submission
SOLVE
@SAkif did you manage to prevent the form from disappearing after submitting? I need to prevent display of 'thank you message' or I need to display it as a toast notify message.
Prevent Hubspot form from disappearing after successful submission
SOLVE
@SAkif there are two options for HubSpot forms: 1 - redirect to a URL or 2 - inline thank you message.
If neither of those options work for you I'd suggest using the Submit Data for a Form API with your own form markup. This way you can decide to show an inline message below your form or what have you.