sets up post params
set html field max