Change values in form to update curve and information box.
Function: