How to autopopulate text field & price field based on previous field entry