User Manual

08.14.2024

MANUAL

FAQ: How to combine values ​​from multiple items and automatically enter them into one item

## Answer Use "「Script」". --- ## Overview Use "「Script」" if you want to combine values ​​of the same type set in multiple items (add them if they are numbers) and enter that value in a specified item. ## Operation 1. Create a record table. 1. Enable Category A, Category B, and Category C. 1. Update the following script by creating a new one in "「Script」" and checking "Create new" and "Edit" as the output destination. ## Sample Code ##### JavaScript ```  $(document).on('change', '#' + $p.getControl('ClassA')[0].id, '#' + $p.getControl('ClassB')[0].id, function () { const A = $p.getControl('ClassA').val(); const B = $p.getControl('ClassB').val(); $p.set($p.getControl('ClassC'), A + B); }) ``` ## Related Information <div id="ManualList"> <article class="s-blog_list_unit"><h2> <h2>The specified information was not found.</h2> <p><a href="/ja/manual">Return to top</a></p> </article> </div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.