Restrict record value type
Add filter mechanism and js filter plugin