I have two custom fields in a custom form. One field is to select a customer and the other is to insert the phone number of that same customer.
The field to obtain the client is of the type Link, which links to the Customer doctype.
How could I obtain the telephone number, in the case it was established, of a specific client?