Can we configure a rule in an eForm base

评论

1 条评论

  • Avatar
    influx
    Not directly. You can add the following Java script to the form to set a hidden form field and then configure your rule against the value in that control.//On form load - Onchange of the language the form is reloaded so no need of a change eventeFormEvents.onFormLoadComplete = function(){ //METHOD to fetch selected language var lang = $('[aria-owns="currentLanguage_listbox"] span .k-input').text(); //Save the selected language in a textBox field on the form eFormHelper.setFieldValue({ fieldId: "TextBox1", value: lang }, function (result) {});}Note: You will need to change TextBox1 to match the hidden control on your form.
    0
    评论操作 固定链接

请先登录再写评论。