Prefill Checkboxes/Radio Buttons--is custom JS the only solution rn?

Hi all,

I’m building the dashboard for a job board, and members need to have the option to update their email frequency settings between daily/weekly/monthly. I’d love for that to pre-populate from MS.

As of now I’m assuming I’ll need custom JS to do this, correct?

Also, I’ve seen this code posited in the forum, but not sure where that would go…

<script>
    MemberStack.onReady.then(function(member) {

        if (member["checkbox"] === "true") {
            document.querySelector("[my-checkbox]").checked = true
        }

    })
</script>

Thank you all, much love

Hey Eric :wave:

What platform/service are you using with Memberstack? Yes, you would need some custom code. You can view our front end API here. If you need additional help then let me know! :grinning:

Sorry about that–Webflow

1 Like

Thank you Eric!

Without seeing your code its hard to give you specific instructions for your use case. Would you be willing to schedule a zoom call so we can figure this out together?