Lead Capture Tools

amitkumarsingh
Membre

Submit static value in HS form hidden field

Résolue

Hi,

 

I need help in HS form migration. As i have integrated HS form on external CMS (Kentico) LP using HS form embedded code and want to sent a static value in HS form hidden field  as "address"  with form submission with each respective user email address.

 

So can you help about please how can we achieve this?

 

Thank You in Advance !!

Amit

0 Votes
2 Solutions acceptées
MFrankJohnson
Solution
Leader d'opinion

Submit static value in HS form hidden field

Résolue

- see Auto-populate form fields with a query string

 

Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.

 

Hope that helps.

 

Be well,
Frank


www.mfrankjohnson.com

Voir la solution dans l'envoi d'origine

DanielSanchez
Solution
Conseiller clé | Partenaire solutions Platinum
Conseiller clé | Partenaire solutions Platinum

Submit static value in HS form hidden field

Résolue

Hi @amitkumarsingh 

 

I know Frank gave the solution already for what you need, but below only complement with an option information and hidden fields in the forms.

 

U can in form, set a field hidden and default value. Look:

 

hidden-value.PNG

 

One good example for use this, is subscriber to blog, when have a lifecycle stage hidden with value subscriber to this contact.

lifecicle.PNG

 

Best regards! 🙂

Voir la solution dans l'envoi d'origine

4 Réponses
DanielSanchez
Solution
Conseiller clé | Partenaire solutions Platinum
Conseiller clé | Partenaire solutions Platinum

Submit static value in HS form hidden field

Résolue

Hi @amitkumarsingh 

 

I know Frank gave the solution already for what you need, but below only complement with an option information and hidden fields in the forms.

 

U can in form, set a field hidden and default value. Look:

 

hidden-value.PNG

 

One good example for use this, is subscriber to blog, when have a lifecycle stage hidden with value subscriber to this contact.

lifecicle.PNG

 

Best regards! 🙂

MFrankJohnson
Solution
Leader d'opinion

Submit static value in HS form hidden field

Résolue

- see Auto-populate form fields with a query string

 

Note: Please search for recent posts as HubSpot evolves to be the #1 CRM platform of choice world-wide.

 

Hope that helps.

 

Be well,
Frank


www.mfrankjohnson.com
jon_taylor
Participant

Submit static value in HS form hidden field

Résolue

@MFrankJohnson 

 

Do you know if this works with hidden forms?

0 Votes
jackcoldrick
HubSpot Employee
HubSpot Employee

Submit static value in HS form hidden field

Résolue

Hi @amitkumarsingh ,

 

To add to @MFrankJohnson post, HubSpot forms have the ability to dynamically capture the values of utm parameters providing the name of the property is matching. For example if you click here notice the form is prepopulated.  Of course as this is a demonstration I have chosen to expose all fields and not hide any so it's easier to see how it works.

 

Another method you can choose to do is modify the embed code. This is especially useful if the data you wish to provide the form is not contained within a UTM parameter in the URLs query string. You can see an example of how this works here.  In this instance I am using some Javascript to set the value of the fields. More information on the techniques I used for this can be found within the document "Customizing the embed code".

 

Happy to answer any questions you might have to any of the above.

 

- Jack

Jack Coldrick
Solutions Engineer @ HubSpot
Add me on LinkedIn