• Resolved natriya

    (@natriya)


    Hi

    I would like to know if it is possible to search via a regex in the front-end search field and if yes how can I do that ?

    For my specific use case , I have a numeric field where I set up the amount paid by each participant. I consider that if the field is blank, that means that the participant is inactive and I would like to be able to search and show only the lines where the field is not blank or where the field is blank

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author xnau webdesign

    (@xnau)

    You cannot use a regex, but you can search for “blank” values if you enable “Allow Empty Search” in the settings under the “List Display” tab.

    Thread Starter natriya

    (@natriya)

    Is there also a way to search for non-blank values ?

    Plugin Author xnau webdesign

    (@xnau)

    You can use a wildcard: * will match any group of characters

    Thread Starter natriya

    (@natriya)

    Thank you
    When I checked the “Allow Empty Search”, I noticed that with a real empty search, there is an error saying that an entry is required. I then put a space and it showed only the blank value .

    Also, when only using * , it shows everything (blank and non-blank value). However, when putting a space and then *, it shows only non-blank value

    That was what I was looking for. Thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘regex in front end search field’ is closed to new replies.