Blog, Website & Page Publishing

SB21
Participant

Store Query String in Form Data

SOLVE

HI,

I would like to store the query string parameter value in the form data in a hidden filed.

For Ex :

https://insights.frost.com/cs_test?Source=Test

 

I want to store the value Test in my form submission data. Is this achievable. if so pls advice.

(i.e whatever folllowing ?Source=XXX must be stored)

0 Upvotes
1 Accepted solution
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Store Query String in Form Data

SOLVE

HI @SB21,

 

If you create a property with an internal name that exactly matches the parameter, HubSpot should pick up the information automatically.

 

Using your example, if you want to store the source, you'd have to create a custom property with the internal name "source", and HubSpot should pick up the value "Test" automatically if you include the newly created property as a hidden field in your form: https://insights.frost.com/cs_test?Source=Test

 

This tutorial by Align.ly is also a great overview.

 

Hope this helps!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.

View solution in original post

7 Replies 7
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Store Query String in Form Data

SOLVE

Hi @SB21,

 

This is currently not supported. If you want this kind of logic, you'd have to split this one field into two fields and create a dependent field: https://knowledge.hubspot.com/forms/use-dependent-form-fields

 

Best regards!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.

SB21
Participant

Store Query String in Form Data

SOLVE

Is there any custom java script available to achive this by adding at Additional code snippets.

0 Upvotes
SB21
Participant

Store Query String in Form Data

SOLVE

HI,

I have got another query. I have got 5 check boxes in a landing page. If i check the last one all other opted must be unchecked and and if any of the first 4 is checked the last one must be un checked. 

0 Upvotes
karstenkoehler
Solution
Hall of Famer | Partner
Hall of Famer | Partner

Store Query String in Form Data

SOLVE

HI @SB21,

 

If you create a property with an internal name that exactly matches the parameter, HubSpot should pick up the information automatically.

 

Using your example, if you want to store the source, you'd have to create a custom property with the internal name "source", and HubSpot should pick up the value "Test" automatically if you include the newly created property as a hidden field in your form: https://insights.frost.com/cs_test?Source=Test

 

This tutorial by Align.ly is also a great overview.

 

Hope this helps!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.

SB21
Participant

Store Query String in Form Data

SOLVE

@karstenkoehler Can we schedule form submissions to deliver to the inbox directly on a daily basis in hubspot ?

0 Upvotes
SB21
Participant

Store Query String in Form Data

SOLVE

Thanks it is working. Can we create a local field for every form. So that the value wont be overwritten. Because if the field is contact field it is getting overwritten every time.

0 Upvotes
karstenkoehler
Hall of Famer | Partner
Hall of Famer | Partner

Store Query String in Form Data

SOLVE

Hi @SB21, yes, you can multiple custom properties. There are limits as to how many you can create. You can learn more about product limits here: https://legal.hubspot.com/hubspot-product-and-services-catalog Hope this helps!

Karsten Köhler
Digital Marketer | HubSpot Freelancer | CRM Consultant

Beratungstermin mit Karsten vereinbaren


Did my post help answer your query? Help the community by marking it as a solution.