Skip Navigation

[Resolved] Upon Form Submission I want to Auto Populate Company Name, number and category

This support ticket is created 5 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 5 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1345139

I am trying to: Take the company name, phone and category and upon submitting here hidden link then have it autopopulate in the gravity form below in the last 3 fields in that form. I tried using a similar approach to previous similar ticket: [gravityform id="4" title="true" description="true" field_values="hoa-partner-email=[types field='hoa-partner-email' output='raw'][/types]&hoa-partner-name=[types field='hoa-partner-name' output='raw'][/types]&hoa-partner-phone=[types field='hoa-partner-phone' output='raw'][/types]&hoa-category=[types field='hoa-category' output='raw'][/types]"]

It didn't work.

Link to a page where the issue can be seen: hidden link

I expected to see: Populated fields for Partner Name, HOA Partner Phone, HOA Partner Category

Instead, I got: Blank Fields

#1345199

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Josh,

Thank you for getting in touch.

I believe this is a question mainly for gravity forms, since you are using their form on this page.

I would recommend that you contact them for this asking them if it is even possible to use shortcodes as field values for their form.

Ensure that you show them this example


[gravityform id="4" title="true" description="true" field_values="hoa-partner-email=[types field='hoa-partner-email' output='raw'][/types]&hoa-partner-name=[types field='hoa-partner-name' output='raw'][/types]&hoa-partner-phone=[types field='hoa-partner-phone' output='raw'][/types]&hoa-category=[types field='hoa-category' output='raw'][/types]"]

You need to know the correct way to do this.

Thanks,
Shane