Is there a way to put the name in the hidden field when submitting an external form?
I put the form made with tally(typeform) in html.
To distinguish the name of the member, I put the name in hidden form in tally and entered the code of the lecture I watched, but it doesn't work.
After the URL, I entered a code that was created in the format where you wrote down the member's name and filled in the tallyform form.
I have to implement this function urgently, but it's not easy. Can you help me?
Code:
<script>
MemberStack.onReady.then(function(member) {
let memberName = member["name"];
if (member.loggedIn) {
let src = "https://tally.so/embed/npdLBb?alignLeft=1&hideTitle=1&transparentBackground=1&dynamicHeight=1&name="+ memberName;
let tallyElement = document.getElementById("tally-memberstack");
console.log(tallyElement);
tallyElement.setAttribute("src", src);
console.log(tallyElement);
return src
};
})
</script>
Comments
1 comment
Hi there 👋
I've found an article which I think will help. Please take a few minutes to look it over and let me know if it helps 🤞
https://docs.memberstack.com/hc/en-us/articles/7526957324187-Typeform
Also, it looks like you're using Memberstack 1.0 code instead of 2.0 code (the onReady is only available in 1.0).
Please sign in to leave a comment.