Store Query String in Form Data

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)

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!

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.

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: HubSpot Product & Services Catalog Hope this helps!

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

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.

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: Use dependent form fields (legacy)

Best regards!

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