ensured only correct input values for pager text field