Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderators: ArturoRobles, ArturoRobles

#828188
Hi Team
I have a script which displays if entries in two grids are balanced/unbalanced. However, I would like to go a step further and hide 'Submit' button if grids are not balanced, and show 'Submit' button if grids is balanced. I've also been advised there can be situations where an entry is 'unbalanced' which is correct, hence I have created a dropdownA which has 'BalancedJournalEntry' and 'UnbalancedJournalEntry' showing.

If 'BalancedJournalEntry' is selected, then immediately the Submit button should disappear till the two grids are balanced. If 'UnbalancedJournalEntry' is selected, then Submit button shows and there is no need for grids to be balanced. Please Help :D :)

$( "#submit0000000001" ).click(function() {
  var sum1 = $('#sum-gridVar003-text0000000015').val();
        var sum2 = $('#sum-gridVar004-text0000000016').val();
  if(sum1 == sum2)
          alert("BALANCED");
        else
            alert("UNEQUAL");
});

I have a suggest where user have to select some do[…]

The 500 Internal Server Error is the general catch[…]

Really very nice blog information for this one and[…]

This is a long, lengthy and cumbersome process. T[…]