Versions Compared

Key

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

...

Step 3: Configure the Screen Script

  1. Click the Edit Screen Script link. Write the following SIL script code in the panel. This code will create two input boxes for the email addresses (to and cc), another input box for the subject, an unlimited text area for Email body and a File Upload field for attachments.

    Code Block
    languageactionscript3
    titleScreen Script Code
    boolean isDisabled = false;
    string [] ret = BA_createInput("Send to", "admin@kepler-rominfo.com", isDisabled);
    ret = arraysConcat(ret, BA_createInput("CC", "", isDisabled));
    ret = arraysConcat(ret, BA_createInput("Subject", "Your issue email title", isDisabled));
    ret = arraysConcat(ret, BA_createTextArea("Email body", "Write your email here", isDisabled));
    ret = arraysConcat(ret, BA_createFileUpload("Attachments", isDisabled));
    return ret;

This code will create two input boxes for the email addresses (to and cc), another input box for the subject, an unlimited text area for Email body and a File Upload field for attachments.


  1. Save the code and go back to the Configuration page

...

  1. .

Step 4: Configure the Action Script

...