I have created custom web forms eg for maintance visit and subscriptions. now all the docuemts are listed to customer even they are not for them.
so idea is to only list the web form documents that related to right customer. I tried to write client script for list option but no luck. i used frappe.session.user to get the customer email or customer name to filter the list. still not able to make that works.
Could someone give any idea? thanks.