This topic is locked

how can I disable lispage a field based on user login?

11/15/2011 05:09:18
ASPRunnerPro General questions
M
michele b. author

how can I disable in lispage a field based on user login
I tried xt.assign "CODINOMEOGGE_fieldbloc" false Before the event display,

and also the

OnLoad event:

var = ctrlState Runner.getControl (pageid, 'CODINOMEOGGE');

ctrlState.hide ();
but I could not put it hidden
thanks

Sergey Kornilov admin 11/15/2011

Syntax is incorrect in both cases.

  1. Wrong: "CODINOMEOGGE_fieldbloc"

    Right: "CODINOMEOGGE_fieldblock"
  2. Correct:

var ctrlState = Runner.getControl(pageid, 'CODINOMEOGGE');

ctrlState.hide();