How can i get Customer DocType data in Web Form from database by input Customer ID

I am trying to get Customer information by submitting Customer ID
like Customer id, Customer Name, phone, email

in a form when i submit Customer ID it will redirect to Customer DocType WebForm and automatically filled data from Customer Doctype Database,

if customer not found in the database, Customer will manually input their data .

please someone help me to achive this