num positions now is input type text, only numeric, added js validation and server side validation