I have a dashboard with a search bar parameter. It works great, but if someone makes a spelling mistake or searching something not in the database, it will not show any results. Can I add an error message if no search is found? I was hoping an IF THEN statement could work.
My current code is: { FIXED [DISTRIBUTOR] : MAX(
IF CONTAINS(LOWER([PRODUCTS]), LOWER([Universal Search ]))
OR CONTAINS(LOWER([BRAND_FARM]), LOWER([Universal Search ]))
THEN 1
ELSE 0
END
) } = 1
From what I understand, it is a Boolean, so if I add another option besides True/False, then my parameter filter on the Search Results does not work.
I tried putting the "Oops" message in the place of the 0, and it does not show up on Search Results.
I am not a coder and barely understand the basics. Can I add an error message to say "Opps...try again with a similar word" in the code? I feel like it should be possible, but I do not want to spend weeks learning code to do this task.
A Floating object would probably work! Unfortunately, floating objects disrupt the order screenreaders follow to read to users, so it is not in compliance with the new USA federal legislation for public universities to have all media be accessible.