Resco JavaScript Bridge: Difference between revisions

Jump to navigation Jump to search
Line 1,392: Line 1,392:
   }
   }


   /// base form object of questionnaire
   /// base form object of the questionnaire
   var f = qForm.form;
   var f = qForm.form;
}, MobileCRM.bridge.alert, null);
}, MobileCRM.bridge.alert, null);
Line 1,404: Line 1,404:


References:
References:
* https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_QuestionnaireForm_findQuestionById
* https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.QuestionnaireForm.findQuestionById
* https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_QuestionnaireForm_findGroupByName
* https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.QuestionnaireForm.findGroupByName
* https://www.resco.net/javascript-bridge-reference/#MobileCRM_UI_QuestionnaireForm_findQuestionByName
* https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.QuestionnaireForm.findQuestionByName


If we get the group, we can set the property of this object. In our case, we disable the whole group. You can set the visibility of the group as well. We can set these properties also on the question if it's available. We changed the description. In the application, it looks like this.
If we get the group, we can set the property of this object. In our case, we disable the whole group. You can set the visibility of the group as well. We can also set these properties on the question if it's available. We changed the description. In the application, it looks like this.


[[File:JSBridge Guide 040.png|alt=Resco JavaScript Bridge: Access questionnaire data, set properties|600px]]
[[File:JSBridge Guide 040.png|alt=Resco JavaScript Bridge: Access questionnaire data, set properties|600px]]

Navigation menu