addInputFilter() addInputFilter() This method creates input filter (used for form filtering/validation).