Lead Capture Tools

amitkumarsingh
Membro

Submit static value in HS form hidden field

resolver

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 Avaliação positiva
2 Solução aceitas
MFrankJohnson
Solução
Autoridade no assunto

Submit static value in HS form hidden field

resolver

- 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

Exibir solução no post original

DanielSanchez
Solução
Conselheiro(a) de destaque | Parceiro Platinum
Conselheiro(a) de destaque | Parceiro Platinum

Submit static value in HS form hidden field

resolver

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! 🙂

Exibir solução no post original

4 Respostas 4
DanielSanchez
Solução
Conselheiro(a) de destaque | Parceiro Platinum
Conselheiro(a) de destaque | Parceiro Platinum

Submit static value in HS form hidden field

resolver

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
Solução
Autoridade no assunto

Submit static value in HS form hidden field

resolver

- 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
Participante

Submit static value in HS form hidden field

resolver

@MFrankJohnson 

 

Do you know if this works with hidden forms?

0 Avaliação positiva
jackcoldrick
HubSpot Employee
HubSpot Employee

Submit static value in HS form hidden field

resolver

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