Was there ever a resolution to this one? I am having the same issue where once I correct the email it still wont submit unless I refresh the page. @SanfordWhiteman
Well, if properly deployed as in the demo page there's no such issue. So you'd have to link to the URL where isn't working for you.
thanks @SanfordWhiteman for your reply, here is my staging site.
https://rambunctious-bettong-staging.cl-us-east-1.servd.dev/demo
username: fiscalnote
password: buildingblocks
In your case, because you don't have a validator stack, use
mktoForm.submittable(true);
instead of
mktoForm.submittable(originalSubmittable);
Could I possibly ask one more related question @SanfordWhiteman ? A few years ago we hired an agency to build us an area for gated assets. I can get the script to tell me that the email "should be a business email" but it still delivers the asset and I'm not sure why.
https://rambunctious-bettong-staging.cl-us-east-1.servd.dev/whitepapers/spot-policy-trends-influence...
username: fiscalnote
password: buildingblocks
Because they failed to account for onValidate chain in their code, setting submittable(true) no matter what else was running.
Thank you for this, it was uber helpful and we were able to get it to work.