- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
'SUBMIT' button for Non-HubSpot form to behave as button but also as link
Dec 11, 2018 5:04 AM
Hi Community,
I have a non-HubSpot form on my website. I have read the documentation for HubSpot to be able to recognise and capture data from it (please see below) and have made working test non-HubSpot forms. However, I cannot manage to create a button that functions as a button and also links.
My specific example is a form that takes 5 inputs (email address and 4 numbers) which I would like captured but then on clicking 'submit' links to unfurl a hidden section where the results of a calculation are made using the inputs. (p.s the link is a # link).
Currently the form just works to take inputs and display results.
Any ideas or suggestions would be appreciated. Thankyou!
Forms that work with the non-HubSpot forms tool
Provided your form is a static HTML form, wrapped in a HTML <form> tag and not contained inside an<iframe>, HubSpot should be able to capture form submissions. Some common reasons why the tool wouldnot be able to capture submissions on forms are:
- Form is not enclosed in <form> tags
- Form is contained inside an <iframe>
- Form has JavaScript bound to form submit event or submit button click event. This is how the tool captures submissions and any other events, and can prevent HubSpot from knowing when submissions occur.
- Form was introduced after the page completed loading. The tool scans the page as soon as it loads and listens to submissions on forms that were present at that point.
- Form contains a sensitive field, such as credit card number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content