Replace required attribute for amount field