I have a medical device website where we specialize in a discreet list of products. Each product has its own page and unique URL.
I am designing a form to go at the bottom of each page that first asks if the interested person is a doctors office which if ticked, will display a set of form fields, or a consumer which would cause a different set of form fields.
Each set of form fields with have at least 1 form field the same between them where they select the medical device or DME they are interested in. This field will be a drop down of choices including the discreet set of products we prefer to handle.
I want to have this field default to the product for the page where the form is being displayed.
Looking at the help information here:
My plan to accomplish this would be to use the following in calling the form on any particular page:
[gravityforms id=1 field_values='product_name=product_from_drop_down_list']
where I manually insert the field value information.
Will this set the default value to the product for the page the form rests on, provided I am careful to use the precise name in the drop down and "field_values"?
Thanks!