Jump to content

problem in page


Recommended Posts

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

erro2.PNG.ba790192c4215e298e775e700de9ca5a.PNG

 

mobilie form

erro1.PNG.efa9a97914764defe8172503b2e9b4fe.PNG

 

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

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

erro2.PNG.ba790192c4215e298e775e700de9ca5a.PNG

 

mobilie form

erro1.PNG.efa9a97914764defe8172503b2e9b4fe.PNG

 

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

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

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

 Share

×
×
  • Create New...