Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Forms are disabled in Gmail"

Android Gmail App Blocking input type submit. Anyone encountered this type of issue? Help.

enter image description here

Code :

<form th:action="${url}" th:object="${testToken}" method="post">
        <input type="hidden" th:value="${unique}" name="theUrl" /> 
        <input th:style="'border:0; height:60px; width:150px; background:url(' + |cid:${imageResourceName}| + ') no-repeat left top; cursor:pointer;'"
            type="submit" value="" />
    </form>
like image 608
Andoy Abarquez Avatar asked Feb 02 '18 10:02

Andoy Abarquez


People also ask

How do I enable a form in Gmail?

To enable Input Tools in Gmail, follow these steps: Click the gear icon in the upper right, then select “Settings”. In the General tab, select the check box next to “Enable input tools” under the “Language” section.

How do I enable JavaScript in Gmail Mobile?

Choose Settings > Advanced > Privacy and security > Site Settings. Click on Javascript. Click on the switch to the right of Blocked to switch to Allowed.

Does Gmail need JavaScript?

Google has made a step toward this goal by developing a 'basic HTML' version of the Gmail website, which does not rely on heavy JavaScript to build the user interface.


1 Answers

Change the method from "post" to "get" and it will work.

Discovered this by accident.

like image 108
Dutch2 Avatar answered Oct 09 '22 06:10

Dutch2