Measuring stellar magnetic fields with the low-resolution spectropolarimeter of the William Herschel Telescope