Webhook URL depending on select field
-
Hi there,
We have been using your plugin on our website and it has been working perfectly, thank you. We have different forms for different sectors within the business, and each sector has its own webhook URL.
Now we are changing it to just one form, and the user selects the relevant sector from a select field / dropdown.
The webhook URLs for each sector look like the following:
Sector 1: https://webhookurl.com/api/callback_wp.jsp?schema=companyname
Sector 2: https://webhookurl.com/api/callback_wp.jsp?schema=companyname®ion=sector2
Sector 3: https://webhookurl.com/api/callback_wp.jsp?schema=companyname®ion=sector3
On the webhook tab, we have ticked send to webhook button and set the webhook URL to the following:
With [Choosesector] being the Sector select / dropdown field, and that dropdown field being set up with pipes for example:
“Sector 1|schema=companyname”
“Sector 2|schema=companyname®ion=sector2”
“Sector 3|schema=companyname®ion=sector3”
This isn’t working though. It was working fine when we were using separate forms for each sector, and just putting the full webhook URL in instead.
Any idea how to get this working? Any help would be much appreciated.
Thanks
- This topic was modified 9 months, 4 weeks ago by .
- This topic was modified 9 months, 4 weeks ago by .
- This topic was modified 9 months, 4 weeks ago by .
The page I need help with: [log in to see the link]
- The topic ‘Webhook URL depending on select field’ is closed to new replies.