Ability to have custom txt input field

I have added code to have an option to attach a custom text box as the filter input field. This is very important to place the text box anywhere to suit the design.