I am trying to create a snippet but i am beginner

i would like to ask if there is a way that i can create a search bar with the tool, or a command that you can provide to me guys.

Hi @Aldo_Jose_Barahona_M and welcome to Text Blaze!
I'm afraid I don't fully understand your question. Can you say more?

i am trying to create something like a search bar but i think i dont have the option or the command to do that, because i dont see any reference to create a search

Hi @Aldo_Jose_Barahona_M

I'm not sure what exactly you mean by a search bar, but something along these lines might be what you're thinking of:

{formtext: name=search}

{if: contains(search, "test")}This text is appearing because you searched for "test".{elseif: contains(search, "other")}This text is appearing because you searched for "other"){elseif: contains(search, "third")}This text appears because you searched for "third"{elseif: search=""}{error: Enter a search term}{else}{error: No results found}{endif}

You'd have to define a result for each search time that you'd want to yield a result. In my example, I've defined results for searching "test", "other", and "third".