Site icon DEO West Bengal

Script for Aadhaar Consent Entry in MGNREGA MIS

AADHAAR CONSENT ENTRY
AADHAAR CONSENT ENTRY

Here is the Script for Aadhaar Consent Entry in MGNREGA MIS. It will partially automate the process.

It will ONLY work in Google Chrome browser.

Entering the card no, selecting registration, selecting the designation and Name have to be done MANUALLY.

After selecting those paste this code in the console window.

Submit have to be clicked manually.

To open console window press Shift+Ctrl+J and click Console tab.

You can put any date as you want. But in the same format as used here.

 

var inputs = document.getElementsByTagName("input");
for(var i = inputs.length-1;i>=0;i--)
{
if(inputs[i].getAttribute("type")=="checkbox")
{
inputs[i].checked=true;
}
}
for (i=0;i<=10;i++)
{
var ds=i+2;
  ds = (ds < 10) ? "0" + ds : ds;
        document.getElementsByName ( "ctl00$ContentPlaceHolder1$grid1$ctl" + ds + "$txt_mord_con_dt" )[0].value="12/01/2017";
}

P.S. : This script is being published on request of Subha Prasad Pal, VLE of PIYASALA Gram Panchayat, under Garbeta-II Block of Medinipur(West) District.

Exit mobile version