get the value of the form quantity