Add client side validation to lesson plan and resource pages