Restrict data entry date

How to freeze the the data entry date. Date must be accepted previous month 30 days & current month first week we can entered data of previous month. Once first week of current month over it must be freeze for previous data entry

Hi Latika,

This section of the forum is intended for people who are implementing or adapting the core CommCareHQ or mobile source code to modify the behavior of the system, rather than advice on implementing mobile applications using the CommCare App Builder.

If this question is about restricting date input questions in the form builder, can you re-ask the question in the “Users” section of the forum?