Hi Vishal Kambare,
I have not tried but you can try this option.
from Adapt mode check the checkbox called "Mandatory" from Field property. i.e check below image.
And from SDK create validate that field using this blog How to Utilize Field add using Key User Tool in script..
I have never tried but check if it is work for you.
Regards,
Mithun