Pass search criteria from stateless form to report.

Pass search criteria from stateless form to report.

I'm using a stateless form with a lookup from customer input form.

I created a new report Log_Reports with information from the Customer_Name input form/report.

Using this deluge script I am trying to pass the dat variable which contains the name selected from a lookup in my stateless form and pass it to my report to include all the customer logs selected.

The dat contains the customer name, "John Smith"

dat = Customer_Name [ID == input.Customer].Name;

openUrl("https://creator.zoho.com/<name>/test-htmp-page/#View:Log_Reports?name="+dat,"popup window");

My report contains "all logs" and not the search critera "John Smith".

Thanks