Presetting a From from an external URL

Presetting a From from an external URL

Hi there,

Congratulations for ZOHO Creator, I am really impressed about it!

I am designing a Demo where part of it runs on my local machine and communicates with ZOHO in order to simulate the whole workflow.

I have solved most of the problems for the Demo, but still, I want to be able to call a ZOHO Form from an external URL. My Zoho Form has an ID Field which is unique and once selected from a pick list it shoud publish all personal data related to this ID.

The form works as expected, but now I want to call my form with a given ID, which will then set the pick list to the given ID from the URL.
creator.zoho.com/showForm.do?formLinkId=53&link=true&sharedBy=elhombrequenoduerme&submit=Contratar&reset=Cancelar&borderColor=FF0033&headerColor=FF6600&DNI=12172297S

How can I read this (DNI) parameter from the on load script?
I have tried


test2 = Demo_Contrataciones_Form [DNI == input.DNI];
if (input.DNI is not null)
{
set viewdetails = "<h3>" + test2.Apellido + "test " + test2.Apellido_2 + ", " + test2.Nombre + "
" + " Direcci�n: " + test2.Direcci_n + " " + test2.CP + " " + test2.Localidad + "</h3>";
}
else
{
set viewdetails = "Error"();
}


input.DNI seems to be empty, but the form is properly set to the parameter I pass from the URL....

any ideas?

thanks a lot

elhombrequenoduerme