Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
Create a trigger that will be executed after the Dynaform with code like this:
Code: Select all
@#gridSum = 0;
if (!empty(@=myGrid)) {
    foreach  (@=myGrid as $aRow) {
         @#gridSum += (float) $aRow['amount'];
Where the variable associated with the grid is "myGrid" and the ID of the field inside the grid is "amount".

Then in your gateway, you can use a condition like this:
@#gridSum >= 500

Nowadays this is one of the most common issues of […]

What version of MySQL are you using? If you are […]

I finally found some time to test this. What ver[…]

Hi! We try to use comminity edition for trial. If[…]