Un foro de discusión para nuestra comunidad de hispano hablante
By Stalinkpy
#21576
Hola compañeros tengo una pregunta espero me puedan ayudar:
Tengo un web entry que llama un campo cédula desde mi base de datos el problema es que necesito pasar ese parámetro
por la url como un variable $_get si ustedes saben como puedo hacer eso espero sus respuestas muchas gracias de ante mano
Esta es mi url quiero que al final aparezca mi parámetro cedula como un $_get
http://processmaker.local/sysworkflow/e ... Gastos.php
By Stalinkpy
#21578
Hello mates I have a question I hope can help:
I have a web entry field calling card from my database the problem is that I need to pass that parameter
the url as a variable $ _GET if you know how I can do that I hope your answers beforehand thank you very much
This is my url I want to end my parameter appears as a $ _GET Cedula
User avatar
By amosbatto
#21595
What you can do is create a hidden field in your DynaForm to hold the information. Add JavaScript to grab the current URL insert the GET variable in your hidden field. Finally add the GET variable to the URL to open the web entry.

For example, if you use this URL to open the web entry:
http://192.168.1.77:2039/sysworkflow/en ... e_form.php
Then use this instead:
http://192.168.1.77:2039/sysworkflow/en ... XXXXXXXXXX
Then add javascript code like this to the web entry form:
Code: Select all
var whereVar = location.href.indexOf('?cedula=');
var cedula = location.href.substr(whereVar + '?cedula='.length);
getField('myhidden').value = cedula;
then you can process as a case variable in a normal trigger later in the process or display it in a dynaform field.

Experience a definitive in upgraded closeness with[…]

New users at Temu receive a $100 discount on order[…]

You can get free stuff on Temu through various met[…]

As a valued existing customer of Temu, you can enj[…]