I found a snag in my system accidentally while testing my site.
I created a test member using a membership form in Weblfow. Then I set up Zapier to automatically create a dashboard/profile page for the new member. Then I went back through and made some changes to the profile to see if everything was staying in sync. What I found was that if I were to type in a value, say an instagram handle, and submit the form and then decide later that I wanted to delete it from my profile, it would update and get cleared out in memberstack. But when the update is push through Zapier to update the webflow CMS and google sheets, it doesn’t clear out the original value.
Zapier reads that empty value from Memberstack as “No Data”. So unless I update the field to something else it will stay the original handle everywhere except for Memberstack…
Does this make sense? Is there a work around?
Welcome, and thank you for posting in the forum!
You could add some custom code to force the empty field have a value. It would be something like this
var Webflow = Webflow || ;
// use input id
var input = document.getElementById('myInput');
// new form handling
// this forces the input to have a value
if(input.value.length == 0)
input.value = "Empty";
You would replace your own info in this code. What its doing is looking to see if the input field is empty before submitting and if it is, it adds the word Empty as the value. This will make it never be empty so zapier can always see it.
Great idea! Would this code go in the custom code of the webflow site or page? And would it be in the head or just before the closing body tag?
And… Do I have to do this for every field or is there a way to force all fields to have the value empty if not filled out?
The code would go in above the field on the specific page of the form.