Populating field in Pro Forms based on which button clicked on

I’m trying to figure out how to prepopulate a field in forms based on which button elsewhere on the site someone has clicked on to get to the contact form. I’ve seen some ideas based on which page or post was used, but these buttons are all in the one section.

If someone has any ideas I’d be really grateful.

(For context- it’s for a pricing table with different package levels. I’d like to be able to direct them all to the same form, but know which package they selected)

Query Params may help you here: Query Parameters - Branch.

Thanks for your direction. Have been able to get it working nicely, thank you.

1 Like