Can I use this plugin to generate a url in wordpress?
-
Hello,
I want to thank you for this fantastic plugin, it is really excellent! I have the pro version and I have built a few very powerful forms so far and am wanting to take it a step further.
I am trying to build a form that will let end-users selectively filter search results based on specific parameters. An example would be a page that lists a few local restaurants, but then they could check a few boxes to limit that search page to just show places that take credit cards as an example.
I am currently using categories and tags to distinguish places (category = ‘Dining’ and tags include ‘EFTPOS’,’Credit Cards’,’Amex’ etc.)
I built a quick form that lets people choose one selection, then created a button with the following code:
window.location.href = ‘https://mysite.com.au/category/dining/?tag=’+fieldname2;
The problem I am having with the above is that the url works perfectly, but the ‘fieldname2’ is showing in the url and not the value of that variable. I have tried a lot of different ways to parse the value prior to including it in the button, but nothing works so far.
I’m not sure this is even the right way to go about what I ultimately want to accomplish, but if you can assist me that would be wonderful. Thank you again!
- The topic ‘Can I use this plugin to generate a url in wordpress?’ is closed to new replies.