Jars
09/12/2024, 3:42 AMCeligo AI
09/12/2024, 3:42 AMAI generated answer (using internal Slack threads):Based on the conversations, it appears that the "Add Multiple" button does not trigger any of the client script entry points. This includes the
validateLine()
function, which is not called when items are added using the 'add multiple' button.
One possible workaround suggested is to catch the click event of the "Add Multiple" button using JavaScript. However, this approach is not recommended as it relies on the DOM, which can change and cause the code to fail.
Another suggestion is to use the sublistChanged
entry point, which is the only client script entry point that works with the "Add Multiple" button. However, it was noted that using sublistChanged
to make more changes to the line can cause unexpected behavior.
A more reliable solution might be to disable the "Add Multiple" button on the custom form. This can be done by unchecking the "Allow Add Multiple" option on the custom form.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/12/2024, 3:42 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.855213583
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845674
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844769657
Celigo AI
09/12/2024, 3:42 AM