Add backend form validation