Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
204 - "No fields were submitted"
New Member
Aug 3, 2018 5:37 AM
Hello,
I am trying to integrate HubSpot into a custom form and my PHP knowledge is limited. So any help would be very much appreciated.
When submitting my form i am getting a log of 204. When I go to my form submissions I can see an entry but no data is being carried across.
Bellow is my form code.
HTML:
<input id="first_name" class="hs-input" name="first_name" type="text" placeholder="First Name" autocomplete="given-name" value="" required> <input id="lastname" class="hs-input" name="last_name" type="text" placeholder="Last Name" autocomplete="family-name" value="" required> <input id="phonenumber" class="hs-input" name="phone_number" type="number" placeholder="Phone Number" value="" required> <input value="Submit" type="submit">
And i am using the PHP script from this link:
Submit data to a form | HubSpot Forms API
POST https://forms.hubspot.com/uploads/form/v2/:portal_id/:form_guid - Send form submission data to HubSpot. Form submissions from external sources can be made to any registered HubSpot form. You can see a list of forms on your portal by going to...
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content