Add equal test in form validation

Signed-off-by: Quentin Gallard <qg@webedia.fr>