update predefined global variable
Retrieve values from form