In your first solution, looks like there’s a typo and the equality condition should use “memberName” instead of " # memberName".
If that doesn’t work, we need the full context to understand better. You can post your editor URL even if your site is not live yet, only Wix Support can open it.