...
Step 3: Configure the Screen Script
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 language actionscript3 title Screen 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.
- Save the code and go back to the Configuration page
...
- .
Step 4: Configure the Action Script
...