Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

JS Bridge Resco Unrequiring a field on the form

$
0
0

I am trying to unrequire a field on the Mobile form.

I'm starting simple by doing this on my onload form:

 MobileCRM.UI.EntityForm.requestObject(
                    function (entityForm) {
                        var detailView = entityForm.getDetailView("Summary");
                        var item = detailView.getItemByName("parentcontactid");
                        item.validate = false;
                    },
                    MobileCRM.bridge.alert,
                    null
                );


I am on the Opportunity form and I am trying to unrequire the Contact field. It doesn't seem to be taking effect. I am missing anything here?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images