ferenc.magyar
30th April 2019, 12:19
Hi!
My task is now that to create a parameter session, that stores paramater name and parameter value. The paramater value should be invisible based on the parameter name's pattern.
At the beginning, when the form loads it's working perfectly, but when I scroll, the first non-invisible value stucks in the invisible "empty" field.
For example:
Init:
P_param1 value1 (empty)
param2 value2
After scroll:
P_param1 value2
param2 value2
After rescroll:
P_param1 value1 (empty)
param2 value2
The code part for this:
before.display.object:
inputfield.visible("param.valu")
IF NOT visible.field AND param.name(1;2) = "P_" |#Parameter name starts with "P_"
THEN
inputfield.invisible("param.valu")
ENDIF
message( param.name & " - " & param.valu) |# For testing purpose
IF NOT is.field.invisible("param.valu")
THEN
display("param.valu")
ENDIF
Any suggestion?
Thank you in advance
My task is now that to create a parameter session, that stores paramater name and parameter value. The paramater value should be invisible based on the parameter name's pattern.
At the beginning, when the form loads it's working perfectly, but when I scroll, the first non-invisible value stucks in the invisible "empty" field.
For example:
Init:
P_param1 value1 (empty)
param2 value2
After scroll:
P_param1 value2
param2 value2
After rescroll:
P_param1 value1 (empty)
param2 value2
The code part for this:
before.display.object:
inputfield.visible("param.valu")
IF NOT visible.field AND param.name(1;2) = "P_" |#Parameter name starts with "P_"
THEN
inputfield.invisible("param.valu")
ENDIF
message( param.name & " - " & param.valu) |# For testing purpose
IF NOT is.field.invisible("param.valu")
THEN
display("param.valu")
ENDIF
Any suggestion?
Thank you in advance