Search Query

Hello,

 

Is there a way to use the %<field-name>_query% so that you can display the key or the value of the item specifically?

 

I currently have a search form that is searching metadata fields.

 

The metadata schema is set to display the key yet the _query shows the values.  I want to show the key.

 

Many thanks

Tony

Unfortunately not, although you could make the key and values the same. 

An alternative is to run some JS that changes the presentation.

Hi Bart,

 

after some testing and assessment of the form ans the javascript that is already in use I need to keep the format as it exists and I hve just added a URL item to the metadata schema to complete the task, means a little more work for the author but it achieves the best outcome for the user.

 

Thanks

Tony