JS Check the Checkboxes on All Pages in Data Entry Mode

  • Last update:  2021-01-06
  • I. Overview

    1.1 Requirement

    In Data Entry mode, data will be displayed in several pages if there are huge data. In this case, the common Select All function of checkbox widgets might not be applicable if you need to select all checkboxes on each page. How to pick all checkboxes on all pages in case of data entry pagination?

     


    1.2 Solution

    Use dynamic parameters to assign values to the widget selected.

    II. Sample

    2.1 Modify the template

    1) Insert checkbox widgets into A1 and A2. Click A2 and set Conditional Formatting-Pagination by inputting the formula &C2 % 5 ==0:

     

    2) Right-click row 1 and click Set Repeat Title Rows:

     

    3) Add a template parameter named select:

     

    4) Input the following formula in both A1 and A2: =$select.

     

    5) Right-click L1 to add a hyperlink and add a dynamic parameter:

    6) Add a [Status Change] event to the checkbox in A1:

     

    Input the following JavaScript codes:

    setTimeout(function(){
        $('td[id^=L1]').children(".linkspan").click();
    },50);

     

    2.2 Preview

    Save the template and preview it in the data entry pagination mode. In the preview, append &__cutpage__=v to the URL. The effect is shown below:

     

    III. Download the template

    Attachment List


    Theme: Data Entry
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    10s後關閉

    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