fixed fld_confagreement (was mispelled). Added else statement to validation so that it only modifies the values if valid