Forums › Forums › Search & Filter Pro › Using a "null" term in the URL
- This topic has 4 replies, 2 voices, and was last updated 10 years, 4 months ago by
Anonymous.
-
Anonymous(Private) December 1, 2015 at 9:12 pm #31175
Greetings,
Is there any way to get the results to show up on a results page when a field value in the URL is null? (instead of removing the field altogether) (I’m using Gravity forms to direct to a page and need the fields to be visible but not always populated with a value)This works great – http://f8d.bf9.myftpupload.com/test-search/_sft_pa_test=sat&_sfm__price=0+1000
This doesn’t work (‘sat’ was removed) – http://f8d.bf9.myftpupload.com/test-search/_sft_pa_test=&_sfm__price=0+1000
Thanks for your help.
Ross Moderator(Private) December 2, 2015 at 12:35 pm #31215Hey Lee
I’ll have a look into this but it shouldn’t be difficult to modify – it makes sense to allow empty values, however just need to run through logic first.
BTW, those links do not work when clicked on – I believe this is because of you haven’t correctly configured your “Results URL” in the “Display Results” tab.
Thanks
Anonymous(Private) December 2, 2015 at 2:08 pm #31233Thanks a bunch. Also, I forgot to change the link because when the plugin changes the URL, it doesn’t put the “?” in it. Here are the corrected links.
http://f8d.bf9.myftpupload.com/test-search/?_sft_pa_test=sat&_sfm__price=0+1000
http://f8d.bf9.myftpupload.com/test-search/?_sft_pa_test=&_sfm__price=0+1000
Ross Moderator(Private) December 2, 2015 at 2:59 pm #31242Hey Lee
I figured that one out 😉 The reason S&F is not putting the
?in the URL is because theResults URLoption not being properly configured above 🙂Thanks
-
AuthorPosts