How to link a save button to update custom profile fields in a user dashboard? Answered

Hey guys Im facing a small issue on my custom built dashboard, how do I link the save button to update my dashboard with custom fields. There seem to be no custom attribute for a save button on memberstack docs.

I am trying to let users update info with custom fields on their profile

Comments

4 comments

  • Comment author
    A J

    Okay great, in that case have you checked out this component?

    Memberstack has components which lets end-users edit their own profile.

    And as far as custom field is concerned, you just have to include the input fields accordingly and add attributes to such field like: data-ms-member="CUSTOM_FIELD_ID"

    You can customize this as per your styling and preference, this should handle the updating of profiles on its own.

    In case you have all the form elements setup right, you just have to make sure to add this attribute to your update form element to let Memberstack know that we want to use this as profile update form
     data-ms-form="profile"

    To be sure, you can check if the existing form is setup like how the component has been setup.

    Reference article for this is here. 

    Let me know if this helps.

    0
  • Comment author
    Sukumar Ramamoorthy

    OMG I completely missed this step thank you so much 🙏 It works perfectly. I am still curious about the form submission limit on webflow will this count as a form submission as well? I am new to memberstack

    0
  • Comment author
    A J

    Great 🥳 Welcome

    I am guessing when we use API methods or third party integration like Memberstack, it likely won't count as native webflow form submission.

    But in case you just want to be extra sure, test this form out and check the form submissions count in Webflow.

    0
  • Comment author
    Sukumar Ramamoorthy

    Sure thank you so much

    0

Please sign in to leave a comment.