Properly assigning form element values.