I am setting the section properties of CRM form to have label & control in separate rows like below:
By default the form control will be visible=false. When I try the below snippets only label is showing up but not the textbox. If I use side by side setting, its working as expected.
Xrm.Page.getControl("myattribute").setVisible(true);
or
Xrm.Page.ui.controls.get('myattribute').setVisible(true);
Can I achieve this by some other supported means?
Update:
Ours is CRM 2015 on-premise. Not update 1.
I have tested the same behavior in Dynamics 365 CRM trial. Legacy form behaves the same way, but Turbo form is having the fix.
This seems to be Product bug till date, even in latest version with legacy form.
For now as a workaround, we are keeping the controls in separate section to meet our need.
Am open to any other supported solution.