Member removing the data from a profile field Answered
Hey all. On my member profile site, having a weird issue that probably has an easy fix. When a member updates a field on the profile page - updates perfectly. If a member deletes the data from the field and clicks save - it WILL delete on the profile page, but on the actual public page it still is present (and still in webflow cms field) AND also still in memberstack.
The only place it is “erased” from is on the field form itself on the update profile page.
Everywhere else it still is present.
Long story short: How do I arrange it so a user can remove the data from a profile field by field to remove from their profile.
Comments
15 comments
Hey Brad Nemer, are you saying that when a user updates their profile via the profile page, it gets updated across memberstack, webflow, profile page and public page.
But when the user clears out a field or two in the profile page and updates it, it does not get reflected anywhere else except the profile page?🤔
Thanks. Hopefully this provides more context.
On the user updating page - it previously had a video link… which I cut, then hit UPDATE. _ it now no longer shows on the page.
(The rest of the previously saved items show in the input field to show you what data is already entered)
Just trying to figure out how a user can erase one custom field of data and then have it erase that field in webflow as well.
Right now its not deleting it anywhere.
Oh okay, so if you fill a different link in the "Main Highlight Video" field from profile settings, it gets updated everywhere else accurately?
that is correct. i just tested that workflow. If I put a new video link in, it will update it across memberstack/webflow.
If I just remove the data from the field and hit enter - it does nothing.
Its probably setup wrong. Its just from a user standpoint, it looks like you are updating it back to “blank” since it shows blank once you hit save.
Brad Nemer that is the normal behavior of an update!
An update is best to be a Patch as it is, when a field is deleted it is assumed not been updated.
But if you want to delete fields then you can might need to start passing null to update empty fields
so will i need to create an additional zap to look for fields that have been removed to patch them all? or can i perhaps do it all in one zap with another step?
You should be able to do it all in one
ok. better question then - should i change the current zap to a “patch” whatever that is?
this is the current workflow for zapier. the action is just “update live item”
You have to be feeling null to those fields that are deleted
So it will be deleted on those integrations too
in the example above, do i just add a third step then?
I think you can just manipulate it from the form submission, once a field is deleted pass it as null, using JavaScript
Just wanted to check do you get the video fields as empty from the memberstack trigger when one deletes a field?
yes. they empty at memberstack. (I was looking at the wrong profile before) when i delete on the page, it deletes in MS. just not webflow.
Pass empty string to Webflow too it should update!
ok ill try to figure that out how to do that.
Please sign in to leave a comment.