erphui
28th November 2005, 11:43
I want to let one filed input is visible, after.input let it invisible.
input first time ,all logic is ok
but input secondary. show the message as follw,

who can help me. thanks


Program as follow!
field.routing:
before.input:
inputfield.visible("routing")

after.input:
routing = ""
if not is.field.invisible("routing") then
inputfield.invisible("routing")
endif

en@frrom
28th November 2005, 13:17
Did you try to add the check is.field.invisible also before using inputfield.visible?

Hitesh Shah
28th November 2005, 15:56
These bshell messages are generated when the object underlying field is not available . So redraft ur code in such a way the before.input section is executed every time (say using to.field function) . Then the error will not come .

mark_h
28th November 2005, 16:18
See this thread (http://www.baanboard.com/baanboard/showthread.php?t=25641). I think you are allowed to only do this once. I have not used this functionality myself, so this is the only info I have.