Rodrigo Baltazar Posted October 1, 2021 Share Posted October 1, 2021 Good Morning!!! I made a card form for computer and cell phone and generated the same html code for both in a unihtmlframe and unimhtmlframe but on the computer it works, but on the cell phone it doesn't debugging the code I noticed a difference between the two pages computer form mobilie form in the second image, it's on the cell phone but the form doesn't appear even being loaded in html just like the computer what am I doing wrong? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted October 1, 2021 Share Posted October 1, 2021 7 minutes ago, Rodrigo Baltazar said: Good Morning!!! I made a card form for computer and cell phone and generated the same html code for both in a unihtmlframe and unimhtmlframe but on the computer it works, but on the cell phone it doesn't debugging the code I noticed a difference between the two pages computer form mobilie form in the second image, it's on the cell phone but the form doesn't appear even being loaded in html just like the computer what am I doing wrong? Hello Can you create a test case? Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 1, 2021 Author Share Posted October 1, 2021 26 minutes ago, Hayri ASLAN said: Hello Can you create a test case? yes projeto-teste.rar Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 5, 2021 Author Share Posted October 5, 2021 any news? Link to comment Share on other sites More sharing options...
Sherzod Posted October 5, 2021 Share Posted October 5, 2021 16 minutes ago, Rodrigo Baltazar said: any news? Hello, Sorry, what exactly is not working? Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 5, 2021 Author Share Posted October 5, 2021 Compile for Computer, you don't need to type anything, just click on the button, it will execute functions and block the process, leaving the fields in red. Do this same process with the mobile build. Click on the button, you will see that it won't do anything, because you didn't load the form tag indicated in the figures. Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 6, 2021 Author Share Posted October 6, 2021 any news? Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 8, 2021 Author Share Posted October 8, 2021 any news??? Link to comment Share on other sites More sharing options...
Sherzod Posted October 8, 2021 Share Posted October 8, 2021 41 minutes ago, Rodrigo Baltazar said: any news??? Hello, Sorry, no news yet. Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 8, 2021 Author Share Posted October 8, 2021 Any prevision? I have a customer waiting for this feature for more than 7 days and is charging me for a solution. Link to comment Share on other sites More sharing options...
Norm Posted October 9, 2021 Share Posted October 9, 2021 Rodrigo, In the $(document).ready() function, replace the form.submit event with an click event and it will work for both mobile & desktop. See below. $(document).ready(function() { var form = $("#payment_form") form.submit(function(event) { // Remove this $("#btn_finally").click(function(event){ //Replace with this event.preventDefault(); ... ... }) }); Link to comment Share on other sites More sharing options...
Rodrigo Baltazar Posted October 13, 2021 Author Share Posted October 13, 2021 With this change it worked! Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts