We want to use the DynamicForm functionality of getting the field defintiions from the datasource but it seems that it does not work if a datasourcefuield is set to hidden="true".
I tried it in this showcase example:
https://www.smartclient.com/smartcli...id=screenReuse
I set the "countryCode" in the countryDs to hidden="true" and then used <formID>.getField('countryCode') and it comes up null.
Removing the hidden attrobute and it owrks fine.
The documentation here:
https://www.smartclient.com/smartcli...ataSourceField
... seems to indicate that this should work but perhaps I am missing something.
Can anyone provide some insight as to how I can achieve getting a "hidden" datasourcefield to appear in a DynamicForm withoput having to explicitly specify the field in the DynamicForm please?
I tried it in this showcase example:
https://www.smartclient.com/smartcli...id=screenReuse
I set the "countryCode" in the countryDs to hidden="true" and then used <formID>.getField('countryCode') and it comes up null.
Removing the hidden attrobute and it owrks fine.
The documentation here:
https://www.smartclient.com/smartcli...ataSourceField
... seems to indicate that this should work but perhaps I am missing something.
Can anyone provide some insight as to how I can achieve getting a "hidden" datasourcefield to appear in a DynamicForm withoput having to explicitly specify the field in the DynamicForm please?
Comment