What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Embedded form in Android

    Asked by okibest on February 05, 2016 at 03:19 AM

    Hi

    I am working in an Android app development where there is a form section. This form is been developing with jotform and it´s working properly before being embedded in my app. In order to do that, I use this code to be embedded:

    WebView myWebView = (WebView) findViewById(R.id.webView);
            myWebView.loadUrl("https://form.jotformeu.com/60323820663xxx");

     

    As I mention before the form is working fine in a web browser in PCs and even in mobile phones. When I try the form directly in my app after being embedded, the form is apparently working normally: the form is adjusted perfectly to the mobile screem resolution, all gaps can be filled in normally etc.

    However, when I press "send buttom", a new page with an illegible captcha field is open and it´s impossible to finish the process. I´ve attached a screeshot of this point.

     

    I appreciate a lot if you could clarify me a possible solution.

    Thanks in advance.

    Óscar

    Screenshot
    Android JotForm Mobile app android app
  • Profile Image
    JotForm Support

    Answered by Boris on February 05, 2016 at 06:40 AM

    Building of Android apps is a bit outside of our scope, but I believe we can help you get it fixed. ;)

    Our forms have automatic spam prevention, and if a browser has its JavaScript disabled, it will be prompted to fill out a captcha field. This prevents automatic spam bots from abusing our network.

    Please make sure that your WebView is configured to allow JavaScript, as JavaScript is mandatory for our forms to have all their functionality. That also explains why the form works everywhere else, except inside WebView where JavaScript is disabled by default:

    https://developer.android.com/guide/webapps/webview.html

    Please take a look at the above linked guide on how to enable JavaScript in your Android app, to make WebView act more like a real browser. Let us know if there is anything else we can help you with, and we will do our best to do so.

  • Profile Image

    Answered by okibest on February 05, 2016 at 08:47 AM

    Many Thanks for your answer. It´s now working properly!

    After your explaination , it wasn`t difficult to solve it. ;D

     

     

     

  • Profile Image
    JotForm Support

    Answered by mert on February 05, 2016 at 09:48 AM

    In the name of my colleague, you are kindly welcome. Please, always feel free to ask your questions, we will be happy to help you.

     

    Regards.