Fill data in HTML form with Excel sheet from Chrome Extension.
![](screenshot/Screenshot (210).png)
Only for computer insect.
npm run build:dev
npm run watch
npm run watch:dev
npm run build-zip
<!-- Delete dist folder then run this commands -->
npm run build
npm run build-zip
var currentFillData = this.data;
chrome-extension://celcfdcmlebphlhcadpiepjliabdobhj/options/options.html
chrome-extension://celcfdcmlebphlhcadpiepjliabdobhj/request/request.html
CreateRequest.js
try {
var req = new CreateRequest({
"url": String,
"field": {
G_bene_gender: {
defaultValue: ""
field: "G_bene_gender"
isFieldRequired: true
is_runJScript: false
jscript: ""
key: "guar_gender"
},
...
},
"data": {
ben_dob: "2015-07-12"
ben_gender: "Male"
status: (...),
...
},
"successMsg": String,
"successStatusCode": Number,
});
// Sent Request
req.sentRequest()
} catch (e) {
console.error(e)
}
Chrome (Latest)
Processing
Fill Form data with trigger event
IF Request Not Send to Server Response
{"readyState":0,"responseText":"","status":0,"statusText":"error"}
Key not link to the submit button https://ioclmaruticampaign.in/?ROiD=133953
If excel data successful fill in the form then play sound like
Automatic set multiple select field type
Radio Field Selector only name not id
Not Work in the Google Form
Add new key background_response
= If Request Run is being done in Background After this, if a success message is received.
If manually check saved checkbox run this js in the console
FillRoot.manuallySavedActiveEntry()
FIXED:
If select box options length is 0 then showing error.
src/background.js:203
FIXED:
src/script/root.js:14~15NEW:
Clear field value then fill new value.FIXED:
Not working in the Angular Site.FIXED:
Custom keys page_loaded
and fill_action
running time.FIXED:
Check Success Message.NEW:
Change Field Background color of fill data completed in the form field.
FIXED:
if name attribute not found in the form field then also generate excel sheet.FIXED:
Field name in the Extension Popup PageFIXED:
If form submit then redirect not working.Alt+Q
FIXED:
Column Settings Model Not OpenNEW:
After filling the data of field, filling the data of another field.
IMPROVE:
Automatic Generate Excel Sheet according to form fields
FIXED:
Date Format in Uppercase
NEW:
To change the Date Format of a column in Excel so that you can change the Date Format according to the Form.
Date Formats:
Excel Column Date | Convert to this Format | Output |
---|---|---|
05-11-2020 | DD |
05 |
05-11-2020 | MM |
11 |
05-11-2020 | YY |
20 |
05-11-2020 | YYYY |
2020 |
05-11-2020 | MM-DD-YYYY |
11-05-2020 |
05-11-2020 | MM/DD/YYYY |
11/05/2020 |
All Date Format: https://momentjs.com/docs/#/displaying/format/
NEW:
Application Settings
NEW:
Option to turn on and off the Toolbar feature and second option to reposition it to the top or bottom of the screen.
NEW:
Check Get Parameters in the Options Page URL "?tab=1&update=0"
FIXED:
Background Javascript ErrorNEW:
Support Page: https://ctechhindi.blogspot.com/2020/10/support-page-fill-excel-data-cth-google.htmlNEW:
Show Total Entry and Active Entry Number in the ToolbarNEW:
If are you using generate excel method then field address and field settings (field type) data automatic set.FIXED:
Some excel sheet columns data not fetch in the extension options page.IMPROVE:
Extension Context Menu Option
NEW:
Trigger Javascript Event in the Form Field
FIXED:
If insert second form url and then delete second form url then showing errorNEW:
Add Option in the Chrome Right Option Menu
, Copy Field Address
INSERT:
About Us TabBIG CHANGE:
Insert Multiple Action SiteFIXED:
Success Message not working in the different domainRequest Send Page
.Request Send Page
.Request Send Page
.Request Send Page
.Request Send Page
.Request Send Page
.
Add new key page_loaded
= After the page is fully loaded, you can give your Custom Script.
Add new key fill_action
= If you do not want Automatic Form Feed or your form opens after any request, then you can place Javascript event in any HTML Element in the page.
// With this, when you click on this HTML Element, only your Form Feed will start.
document.querySelector("#htmlElm").addEventListener("click", FillAPP.checkNextEntry);
Send all the requests at once in the Request Send Page
.
Stop/Reset Request Status
in the Request Send Page
.
Add New Library npm install --save xlsx
Export Request Excel Data in the Excel Sheet.
https://trade.algofox.in
form_filled
= After the form is successful feeded, you can give what script you want to run.form_submit
.keys
which are not in the excel sheet{fullPath, pathName}
(Beta)
If you have a problem with this plugin or found any bug, please open an issue on GitHub.
Code copyright 2020 ctechhindi. Code released under the MIT license.
Author: ctechhindi
Source Code: https://github.com/ctechhindi/Fill-Excel-Data-on-HTML-Form
#vue #vuejs #javascript #html