Submit button showing on DVP

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
utony
Veteran Member
Posts: 93
Joined: 2020-04-03 18:37

Submit button showing on DVP

Post by utony » 2022-01-18 00:30

Anyone know how to fix this new bug I have noticed? When printing more than 1 page, a Submit Button Shows on the print. It does not show if it is only page. Soon as it goes to 2 print pages, the button shows up. I need to remove it. This just showed up when I updated to 22.10.

Screenshot attached.
Attachments
Screenshot 2022-01-17 192700.png
Screenshot 2022-01-17 192700.png (31.17 KiB) Viewed 1662 times

utony
Veteran Member
Posts: 93
Joined: 2020-04-03 18:37

Re: Submit button showing on DVP

Post by utony » 2022-01-20 21:01

167 people have viewed this post, no one is having this problem? Come on

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Submit button showing on DVP

Post by a.gneady » 2022-01-21 17:51

I wasn't able to reproduce this issue on my side, but maybe it appears under specific conditions. Could you try adding this code to hooks/footer-extras.php and see if it fixes the issue:

Code: Select all

<script>
   $j(function() {
      $j('input[type=submit]').css('visibility', 'hidden')
   })
</script>
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Submit button showing on DVP

Post by jsetzer » 2022-01-21 18:00

Sometimes that submit button appears when dumping any characters before html output starts, for example

1) when var_dumping
or echoing values too early

2) I have also seen it when, by accident, there were extra characters at the beginning of a page

3) or when a file had been saved as UTF-8 WITH BOM. Those BOM extra characters can cause this, too.

Well, that's just my personal experience.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

utony
Veteran Member
Posts: 93
Joined: 2020-04-03 18:37

Re: Submit button showing on DVP

Post by utony » 2022-01-21 18:49

I will try the code fix tonight. I only see the bug when the printing goes over one page. If it is just one page, I see no issues. Soon as it goes to two pages, it appears. I have 11 applications. I updated 9 of the applications to 22.10. All of them are doing this. I checked my other 2 apps, running 5.96 and it does not appear. SO I just wanted to point this out. With all the AG users, I figured someone has to be experiencing this issue. Thanks, I will post my reply once I try that code fix!!!!

TK

utony
Veteran Member
Posts: 93
Joined: 2020-04-03 18:37

Re: Submit button showing on DVP

Post by utony » 2022-01-21 19:03

IT WORKS!!!! Thank you so much. I had to post in the header-extra, the only thing I can think is the appgini helper script was causing this bug. soon as I posted that code fix, it was gone! Either way, it is fixed, so thankful. Thank you.


screen shot attached for review in case others run into this issue.

TK
Attachments
Screenshot 2022-01-21 140243.png
Screenshot 2022-01-21 140243.png (21.41 KiB) Viewed 1451 times

Post Reply