I have a simple repeater that shows past and future art exhibitions. On page load, I'd like to filter out all items where the date in the 'endDate' field has passed. Therefore just leaving items for today or a date in the future. Can someone please recommend the correct code to do this?
Hello there
I can place a wix corvid code on page load to check all the dataset's items's endDate field and compare with today, the comparsion is javascript and applied with Date() object.
If endDate is passed, i can use collapse() method to hide the item completely
Let me know
Ngan L
Dear Concern,
I will not waste your time with a long pitch on why you need to hire me for this job. Let me introduce myself to you. I am a professional web developer with expertise in web design + Wordpress + Front End + Shopify + Woocommerce + logo design + banner design and so on.
I have read the job details and I am a JS coder I will filter out all items where the date in the 'endDate' field has passed.
Thanks and looking forward for your response.
Best Regards
Faizan B.
https://www.freelancer.pk/u/faizansaleem1598
I'm Wix expert developer.
We need to filter the date before load on repeater. That filter will be done using the Date() from Javascript and some Corvid API calls.
Feel free chat me.