DA Search feature stopped working
My search feature stopped working today. Can you see anything that's jumping out at you? I'm attaching a compressed file which includes the search feature.
My search feature stopped working today. Can you see anything that's jumping out at you? I'm attaching a compressed file which includes the search feature.
try changing:
WADbSearch1 = keywordComparison(WADbSearch1, KeyArr1,"" & ToString(IIf(isDefined("Form.S_donorID"),"Form.S_donorID",DE(""))) & "","","Includes",",%20","%20","%22,%20%22","%22",0);
WADbSearch1 = keywordComparison(WADbSearch1, KeyArr2,"" & ToString(IIf(isDefined("Form.S_company"),"Form.S_company",DE(""))) & "","OR","Includes","%20AND%20","%20OR%20","%22,%20%22","%22%20%22",0);
to:
WADbSearch1 = keywordComparison(WADbSearch1, KeyArr1,"" & ToString(IIf(isDefined("URL.S_donorID"),"URL.S_donorID",DE(""))) & "","","Includes",",%20","%20","%22,%20%22","%22",0);
WADbSearch1 = keywordComparison(WADbSearch1, KeyArr2,"" & ToString(IIf(isDefined("URL.S_company"),"URL.S_company",DE(""))) & "","OR","Includes","%20AND%20","%20OR%20","%22,%20%22","%22%20%22",0);
Thanks, it worked. What do I do for next time and what happened here?
the forms method is set to GET.
the code here:
ToString(IIf(isDefined("Form.S_donorID"),"Form.S_donorID",DE("")))
was using the POST collection instead of the URL.
I had you change that to:
ToString(IIf(isDefined("URL.S_donorID"),"URL.S_donorID",DE("")))
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.