Try ERPNext Buy Support Partners Foundation Foundation Members

How do I fill values automatically for a web form

I’m trying to use a web form to create the exact Doctype form on the Desk. My doctype is linked to another so once the id of the link is selected it fetches the values for the remaining fields. How can I do that on a web form