Switch template on validation failed when smart phone access