Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

We are using Font Awesome 5 Pro. Using icons from another version of Font Awesome might not work.


For CLAPI example, in sStammDetailOverviewForm set for a Form, the EventAfterDisplay attribute we set to call a method "$ akioma.osiv.StammDetailOverviewFormAfterDisplayOrderDetailOverviewFormAfterDisplay(self)";

Code Block
titleExamples from CLAPI
akioma.osiv.StammDetailOverviewFormAfterDisplayOrderDetailOverviewFormAfterDisplay = function (Form) {

  // Maske als Read-Only setzen.
  const FormHelper = new akioma.osiv.FormHelper(Form);
  FormHelper.ReadOnly = true;

  //Set a customState on sstamm_nr_nachnamea field
  const field = Form.getField('StammFIELD_Nr_nachnameNAME');
  field.controller.setCustomState('alert');

  // Combo-Boxen deaktivieren.
  FormHelper.Field("sex").Enable        = false;
  FormHelper.Field("zivilstand").Enable = false;
  FormHelper.Field("elt_gewalt").Enable = falseAlert');

  return;
};