Fix COCOON-1848 CForms: Using setRequired in Ajax mode does not generate bu:replace. Thanks to Vincent Demay (vincent.demay@anyware-tech.com).