Tell us what you are trying to do?
I'm trying to create a form that pulls the data from a custom field created with Toolset and send attach it to the form when the user sends an inquiry.
On the page I shared below there is a button that says contact us which I want to use for this purpose. Currently this button sends the user to the contact us page but I want to create a dynamic form that pulls the Custom field data when the user clicks on this button.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
not at the moment.
What is the link to your site? hidden link
On this link you can see one of the property images.
I've attached an image showing the button and the field I want to include in the form.
The [types field='my-field'][/types] will provide the value of the listing ID in the URL. However you must change my-field to the slug of your actual field.
Secondly when you're on the form page, you can retrieve the value from the URL. I'm not sure which forms plugin you're using but you can use this shortcode below to get the value of the field in the url.