The age-metallicity relation (AMR) is a fundamental observational constraint for understanding how the Galactic disc formed and evolved chemically in time. However, there is not yet an agreement on the observational properties of the AMR, primarily due to the difficulty in obtaining accurate ages for individual field stars. We have started an observational campaign for providing new observational input by using wide white dwarf-main sequence (WDMS) binaries. WDs are natural clocks and can be used to derive accurate ages. Metallicities can be obtained from the MS companions. Since the progenitors of WDs and the MS stars were born at the same time, WDMS provide a unique opportunity to constrain in a robust way the properties of the AMR. We present the AMR derived from analysing a pilot sample of 23 WDMS and provide clear evidence for the lack of correlation between age and metallicity at young and intermediate ages.