OpenURL error: Passing arguments

OpenURL error: Passing arguments

G'day,

I request assistance with an error associated with the following code. I suspect it is trivial.

I send 2 parameters from a form to a HTML view using OpenURL:

  1. ((((("/" + zoho.adminuser) + "/") + zoho.appname) + "/#View:Boys_Search?searchParam=") + input.Choose_your_city + "&searchParamD=" + input.When.toDate("dd-MM-yyyy"))

Possible errors:
a) Syntactical error in how the two strings are being passed.
b) Because 'When' is infact a Date field, toDate() function is redundant.

Would greatly appreciate advise.

Best regards,
inclininwirefree