889 fix form search

Implements search functionality for forms on project page, closes #889
same, since only one branch can use `when`