Let’s say I have three kittens for adoption, and post them on my site. There is a CTA button under each picture, which launches an inquiry form. The form has a dropdown to select a kitten. I want to preselect that value, since the user already indicated a preference.
How do I do that?
Hi @tony5280
Utilize the URL Parameters for Conditional Logic and try to work it out, Even though pre-selecting a dropdown option isn’t possible, you can leverage URL parameters to display a customized message next to the chosen kitten’s name on the form. Try the below 3 steps process and see if it suits your requirement.
- Designate a unique landing page for each kitten, incorporating a distinct URL parameter (Example - “?kitten=fluffy" for Fluffy).
- Link the CTA button under each kitten’s picture to the corresponding landing page, including the parameter.
- Configure conditional logic on your form to display a message like “You’ve chosen Fluffy!” based on the URL parameter value (“fluffy” in this instance)."
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
pre-selecting a dropdown option isn’t possible
Well, that was the heart of my question.
Specifically, I’m using a hubspot “Popup CTA” to display a form (not to be confused with a button, or other calls-to-action). I do not want to take the user away from the page, but if I did, I could definitely pass parameters using the URL.
Is there really no way to preselect a form option? I presume it could be done with JS, if I could figure out how to trigger the popup directly, rather than using a module “link” field of type call_to_action.