دستور replace رو در متد click قرار بدید

replace fieldname with thisform.optiongroup1.Value