Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PO Entry Form Issue - Prev and Next buttons are disabled
01-09-2018, 04:10 AM, (This post was last modified: 01-09-2018, 09:35 AM by TurboPT.)
#10
RE: PO Entry Form Issue - Prev and Next buttons are disabled
Tim, looking back at the code for this, the condition to add a check exists, but it is done in an 'after output' kind of way...

At line 1155, the checkbox is checked by default.
Then just after that, the condition at line 1156 has the potential to add a second 'checked' even though one already exists at line 1155.

Should we use the handling you proposed? ... which would not have that checkbox checked by default. If so, then the condition block at line 1156-1158 could go away.

Maybe it's a simple (easier?) matter to remove the first 'checked' from the input at line 1155 but this would still not leave the checkbox checked by default as has been happening now. Then the condition at 1156 will set the check after the POST.

[hope that explanation is not too confusing] Though your example handling is probably best to avoid the double-checked matter that could happen as it exists now.
Reply


Messages In This Thread
RE: PO Entry Form Issue - Prev and Next buttons are disabled - by TurboPT - 01-09-2018, 04:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)