Interface to retrieve record

Hi, I am tasked to do a timesheet POC,

I am asking the user to select the date, and I will using the weeknum function to find out the week number,

after that will add into the database and wait for supervisor approval. 

How to verify the week number is exist in the database record before the user submits the form. 

Please kindly assist me thank you 

  Discussion posts and replies are publicly visible