Miva Merchant 4 Module FAQs » Search Manager (BROK_SEARCH)


{docurl}

Is it possible to create an html drop-down that allows the user to determine the state of the AND flag?I've tried something like this, but it doesn't seem to send the correct state to the server:

My first thought is that it should work by substituting this html for the %and_opt% token in the search template. However, in that template, if it does not include the %and_opt% token, then the module adds a hidden field set to the default. So if you add your html and remove the %and_opt% token you will end up with several %Search_and% tokens and it likely will not work.

There is a workaround however!

Instead of removing the %and_opt% token from the template, surround it with html comment tags:



and then add your html. That should work!



Last update: 2005-01-12 08:36
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category