i’m trying to disable a few inputs. But looks it’s not working. i have tested hide, show, enabledItem and it’s work but if i try to disabled: Does not work.
Thank for you re help but this code still is NOT working. i tried several time without any succefull. I send you the full code the simplest as i can. The option hide-show works the option
enable disable send error.
Show/hide working fine with your demo on our side (code a bit changed, see below). Enable/disable not public methods (form automaticaly enabling/disabling items, this depend on parent).
Also, you’re using loadStruct() for loading data into form, and then immediately calling show/hide. loadStruct() used async request, so when you calling hideItem not a fact data came from server and exist.
So, you need to use onXLE event or onLoad handler: