Remember Member Submission on Custom Form

Hi Everyone, hope you are well?
Need a bit of help with this, I am totally stuck. I have created my own Music Label Site, I have this page ( will be a members page once I figure this out), it has a Custom Form in here. I have set up the code so that once the Member Clicks Submit (Event), the form “Hides” and the Track Downloads “Show”.

What I am struggling with is when you Refresh Page or Close and come back to the page, the Form is Visible again and Member needs to “Submit” again before accessing the tracks.

I think the process code wise will be “if” member has clicked Submit / is referenced in the Dataset then “Hide” Form and “Show” Downloads?? Any help with this and some example coding would be a massive help.

Here is a link to the Page in question (I will leave it open page for now until I can resolve this).

https://www.in2urecords.com/vip-promo/Various-Artists—1-Year-Of-IN2U-%5BIN2U%5D

Many thanks

Have a read of this previous forum post as it should get you started.
https://www.wix.com/corvid/forum/community-discussion/code-to-allow-user-account-to-fill-a-form-just-one-time

Thank you, I will dive over and check this out - Did try the following, but. what happened is it skipped through to the last stage regardless of submit… I check this out and come back - Thank you for your reply.

$w.onReady( function () {
wixData.query( “PROMOFEEDBACK” )
.eq( “promoName” , wixUsers.currentUser.id)
.find()
.then( (results) => {
$w( “#repeater2” ).show( ‘fade’ );
$w( “#repeater1” ).show( ‘fade’ );
$w( “#text14” ).show( ‘fade’ );
$w( “#box1” ).hide( ‘fade’ );

});