Can we create Web form using field of two different DocTypes?

Dear All,

I want our team to save customers.

For that I have created a web-form linked to Customer DocType, but There is no address field in Customer DocType. Address appears and saved after customer is saved first.

How can we add some field of different DotType in the same form?



No Web Form can be created from only one doctype, But, you can add the custom fields of the second doctype


I have added Custom Fields and kept the particular section hidden.


Haven’t tried but maybe create another form for address and use success URL link in customer form to go to the address form.