dear r chouhan,
yes it is very necessary that your passport size as well as postcard size have your name and date of photo is written on it .because it is clearly written in the bulletin of neet ug 2020.
before filling the online application form please carefully read the bulletin of neet ug 2020.
if you want to know more information about neet ug then you can go through the below link
NEET Online Preparation
Crack NEET 2020 with NEET Knockout Program, If you Do Not Qualify- Get 100% MONEY BACK