Tagged: conditional logic
Hi The scenario I want to create is this. User selects Option A or B in a form and is presented with Option C or D depending on selected A or B. The user then selects option C or D and the Button appears which when clicked activates a shortcode.
Real world is that we use Calendly to manage bookings. We currently use a widget area with the embed code in the widget to create a clickable button that will load a specific Calendly event for bookings. There are multiple events each with their own url.
Rather than having multiple widget areas on a page all linking to different events it would be much nice to have one “button?” which the evnt link it connects to is determined by previous selections.
Hey smakarate,
Thank you for the inquiry.
We are not yet sure how would that work, and we have no idea how the widgets or the calendly plugin are setup. Have you tried asking the plugin authors? They should be able to help you out, since they are more familiar with the plugin.
And if you are looking to add some kind of logic to the widgets, one of these plugins should do the job.
// https://wordpress.org/plugins/conditional-widgets/
// https://wordpress.org/plugins/widget-logic/
Best regards,
Ismael