Can we update profile while during signup?

Hey!
I have added hidden signup field and want to set that value while during Memberstack’s default signup.

So the scenario is I have the url as website.com/?ref=name@mail.com
I have stored this refs parameter in session storage and want to assign it to that hidden signup field.

At the moment I’m able to capture this and update Memberstack profile while during multistep onboarding form but that has ended up with some limitations while recording in Airtable.

<script>
$(function() {
let referrer = sessionStorage.getItem('refs');
MemberStack.onReady.then(function(member) {   
    member.updateProfile({
        "referred": referrer 
    }, false)
})
});
</script>

So I’m looking for an alternative way to get this captured while during Memberstack default signup modal. Is that possible?

Thanks in advance :slightly_smiling_face:

Hey Mohammed :wave:

Unfortunately, we do not have the functionality to make this happen within our modal. You could however use a custom modal with a hidden field as a signup. :smiley: