i need a JS code with a limit number of upload books according paid plan

hello
.
really I have a problem with java script I don’t know ….my web site is approximately finish
before t tried a code from your forum to query on e-mail …but its not working with me since in my web site a customer can upload his book again with the same e-mail … all other permissions in wix I added it correctly… i send my request to WIX ARENA with no answer… anyone can do this code I will pay for this code as i explain down

I want to let user member who pay for example basic plan …upload 1 book only
I want to let user member who pay for example gold plan… upload 3 books only
I want to let user member who pay for example premium plan …upload 5 books only

for example if basic plan paid &client uploaded 1 book … a message with " your book 1 is added successful " in red & submit button disable after 1 book.

if gold plan paid &client uploaded 3 books … a message with " your book 1 is added successful " / and in upload 2nd book a message with " your book 2 is added successful " in red / " your book 3 is added successful "
& submit button disable after 3 books

if platinum plan paid & client uploaded 5 books … a message with " your book 1 is added successful " / " your book 2 is added successful " in red ….elct till 5 book messages / " your book 5 is added successful "
& submit button disable after 5 books

regards

You may want to check out the WixArena - it’s a hub where you can look for Wix Code (and other) experts for hire.

i requested WIX arena …but no body answer since about 4 days …if you know someone expert in java script so i will contact him pls ?