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
    評論操作 永久連結

登入寫評論。