add value to input and getVal