Get parameters in a Form

Hi everyone,

I have a trouble when I try to pass parameters to another form using the macro sc_redir(app,par1={val1};par2={val2},_self);

I’m trying to get the parameters with $_REQUEST[‘par1’], but the system send me true when I ask if the variable is empty.

I don’t know if someone can help me to get the parameters in this form, is this the right way to get them? Or Are there another one to do it?

Re: Get parameters in a Form

See if _GET is any better for you. Sometimes _REQUEST is quirky.

Regards,
Scott.

Re: Get parameters in a Form

Hi

I’m using sc_link macro in a column Grid app and send the value selected like parameter to a Form app.

How can I get the parameter sent, I’ve tested $_GET and $_REQUEST, and it doesn’t work, I get “Undefined index”

InGrid on_record event:
sc_link(field, control.php, a=2;b=1, “Hint”, “_blank”);

In control.php onApplicationInit event:
{a}=$_GET[‘zoe_ususec’];

Regards

Re: Get parameters in a Form

Hi

if someone is interested, can check this $_POST[‘nmgp_parms’]

Regards

Re: Get parameters in a Form

on the second form check value of
[par1] variable and [par2]