Make instance_name unique for indexing allowing no duplicates

Can a feature be added to make instance_name unique for indexing?
I have created a form with two fields namely reporting month/year and facility. amongst others. I would like to create an instance-name concatenating reporting month/year and facility. The idea is to make that perform like a primary key to prevent one facility submitting more than 1 form submission in one reporting month. so I don’t have two submissions per facility per reporting month.
Thanks

Welcome to the community, @ewafiware! Maybe you could do it as outlined in the post discussed previously: