Filter Lookup By Another Date Field

Filter Lookup By Another Date Field

I followed the instructions listed on this post but still receving an error when I post the below code on input for date field

https://help.zoho.com/portal/en/community/topic/picklist-criteria

My code:

z  =  Log_Shipping_Document  [Arrival_Date== input.Arrival_Date];
Shipping_Document:ui.add(z.Shipping_Document_Number.getall());