Add the second argument of the form validation function to avoid warnings in 2.4