Event Response Method

  • Last update:March 25, 2025
  • Overview

    When an event is triggered, a corresponding response will appear. So adding an event requires selecting the corresponding event response method, as shown in the following figure.

    image 10.png

    There are seven event response methods: JavaScript, Submit to Database, Send Email, Export Event, Mobile Pop-up, Submission Event, and Custom Submit, as shown in the following figure.

    Response Method

    Description

    JavaScript

    The most commonly used response method is thatexecuting JavaScript code when the event is triggered.

    Submit to Database

    When the event is triggered, the data is submitted to the database, which is similar to the built-in SQL submission in data entry.

    Send Email

    When the event is triggered, an email is sent. This function requires configuring the sending email on the platform.

    Export Event

    When the event is triggered, the specified template is exported to a specified type of file, such as Excel and Word.

    Mobile Pop-up

    When the event is triggered, a pop-up box displays a hyperlink template and text remark, which is only applicable to mobile terminals.

    Submission Event

    When the event is triggered, the data is submitted to the database, which is similar to the built-in SQL submission in data entry.

    Custom Submission

    When the event is triggered, the data entry submission is implemented through a custom backend class.

    Method Description

    JavaScript

    JavaScript is the most commonly used response method. When the event occurs, it executes JavaScript code, usually used for real-time interaction with users, such as timely validation and dynamic assignment, as shown in the following figure.

    image 11.png

    Submit to Database

    Submit to Database means submitting data to the database, which is similar to data entry. However, the data entry action is only executed after the event is triggered, as shown in the following figure.

    The Submit to Database event allows you to bind multiple submit to database rules, which is similar to supporting multiple submissions in data entry. For details about setting submission rules, see Built-in SQL Submission.

    Compared to data entry submission, Submit to Database has the additional function of Set Callback Function. Set Callback Function provides an entrance for you to set some interactive behaviors after successful or failed submission.

    image 12.png

    Send Email

    When the event is triggered, an email is sent, and you can configure the email recipient, email content, and other information, as shown in the following figure.

    Note that using this function requires configuring the sending email on the platform.

    image 13.png 

    Export Event

    When the event is triggered, the specified template is exported to a specified type of file, such as Excel and Word. You can configure the exported template, exported file type, exported file name, and other attributes, as shown in the following figure.

    image 14.png 

    Mobile Terminal

    When the event is triggered, a pop-up box displays a hyperlink template and text remark, which is only applicable to mobile terminals. You can configure the template and text remark displayed in the pop-up box here, as shown in the following figure.

    For details, see [General] Mobile Pop-Up.

    image 15.png

    Submission Event

    Submission Event is used in Set Submission Event under Data Entry Attrobute > Built-in SQL of the data entry template, as shown in the following figure.

    It is similar to Built-in SQL of the data entry. For details, see Built-in SQL Submission.

    image 16.png

    Custom Submission

    Custom Submission is used in Set Submission Event under Data Entry Attrobute > Built-in SQL of the data entry template, as shown in the following figure.

    It is similar to Built-in SQL of the data entry. For details, see Custom Submission.

    image 17.png

    Attachment List


    Theme: Secondary Development
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy