Using JavaScript in a filter field

xiaix
Tera Guru

In my users table (sys_user), I'd like to do this:

find_real_file.png

(looking for records where first name only contains letters (a-z), and hyphens/dashes)

 

When I run this, it seems to work because it returns fewer records than if no filter were applied.

However, I'm not convinced it's working as I'm expecting because when I do this:

find_real_file.png

0 records are shown.

1 REPLY 1

Gosia Urbanska
Giga Guru

You can use Script include;

Remove all default code from a script and add you function;

name of script and function should be the same also Client callable set to true