Make sure to preserve the action= attribute.