fix element getter/setter API for WP_Forms