10,730
edits
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:// | * https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.QuestionnaireForm.findQuestionById | ||
* https:// | * https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.QuestionnaireForm.findGroupByName | ||
* https:// | * 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 | 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]] |