Member removing the data from a profile field Answered

Post author
Brad Nemer

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

  • Comment author
    A J

    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?🤔

    0
  • Comment author
    Brad Nemer

    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)

    • You can see on webflow the entry still exists
    • Memberstack the entry still exists
    • The public page the video still shows

    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.

    0
  • Comment author
    A J

    Oh okay, so if you fill a different link in the "Main Highlight Video" field from profile settings, it gets updated everywhere else accurately?

    0
  • Comment author
    Brad Nemer

    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.

    0
  • Comment author
    Abdullateef Ademoye

    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

    0
  • Comment author
    Brad Nemer

    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?

    0
  • Comment author
    Abdullateef Ademoye

    You should be able to do it all in one

    0
  • Comment author
    Brad Nemer

    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”

    0
  • Comment author
    Abdullateef Ademoye

    You have to be feeling null to those fields that are deleted

    So it will be deleted on those integrations too

    0
  • Comment author
    Brad Nemer

    in the example above, do i just add a third step then?

    0
  • Comment author
    Abdullateef Ademoye

    I think you can just manipulate it from the form submission, once a field is deleted pass it as null, using JavaScript

    0
  • Comment author
    A J

    Just wanted to check do you get the video fields as empty from the memberstack trigger when one deletes a field?

    0
  • Comment author
    Brad Nemer

    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.

    0
  • Comment author
    Abdullateef Ademoye

    Pass empty string to Webflow too it should update!

    0
  • Comment author
    Brad Nemer

    ok ill try to figure that out how to do that.

    0

Please sign in to leave a comment.