Don't use type=number if a SQL function is used