Custom Validation Using API Calls - Overloads OnChange if Using Barcode Scanner

Now I have a different problem. Turns out, validation still triggers before the focus event, so I need to use an Action to trigger the validation of the individual fields. I thought it was as simple as putting the element id or name in a list… but that’s not the case.

This person seems to have the same problem: Validate form fields as element action through a button outside the form - Issues - Plasmic Community maybe?

I also tried without the brackets.

UPDATE: The validation never fired because I was using a “Run this step” guard. The guard relied on two run codes like the one above to return falsey in order to work, but the problem was that it didn’t and returned a truthy… every single time. Like the validation the normal way, it is too impatient and doesn’t actually wait for the Run Codes to finish. Now, I’m not exactly sure how to fix this next problem… but at least I know I got the syntax right.

UPDATE 2:
Just figured out grouped items, if anyone wants to know:

["parts"] w/ Option { "recursive": true }

OR…

[["parts", "part_0"],["parts","part_1"]]