Hi
When I want to edit multiple order, using the edit form in multiple, it shows billing address as below image.
In normal edit form, it is not being shown, and works correct. I have set the visibility of whole billing address control to hidden using form editor.
So how Can I remove Billing Address from the multiple edit form ? (I have already used business rule to hide fields but it did not help me)
*This post is locked for comments
Hi Alagu
Thanks for your reply.
I could hide it using jquery!
As form shows, it is loaded cause it appears in the form but it does Xrm.Page.ui.controls does not have anything related to that!
Hi Babak,
Xrm.Page.ui.controls.get("billto_line1") is null. Can you please put debugger test in console whether control is loaded or not?
HI Alagu
I could hide custom filed in the form, but for example, for the billto_city field, it throws a js error and says it is not defined in Xrm.Page.ui.controls:
Uncaught TypeError: Cannot read property 'setVisible' of null
And here is my code:
Xrm.Page.ui.controls.get("new_customfield").setVisible(false); // works Xrm.Page.ui.controls.get("billto_line1").setVisible(false); //does not work
Hi
You have use Javascript to enable/disabled form.
But we have to enable the javascript work in bulk edit form
Create a new solution
Add your entity
export the solution and open the customization.xml
Add < event name="onload" application="false" active="false" BehaviorInBulkEditForm="Enabled" >
Please refer the below link
www.inogic.com/.../enable-scripts-on-bulk-edit-form-in-crm-2011
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156