change the form action without losing validation