Change check for form action