IS Possible with Dynamic Value From External Source?

160 views
Skip to first unread message

aphori...@gmail.com

unread,
Jun 5, 2018, 9:16:15 AM6/5/18
to Autofill Chrome Extension
In my job I have many student to fill in form one by one.
I already have student data in my database (MySQL) that can export to csv or anything else.

My question is it possible to get student data from external source (CSV, Another Web Site, JSON) when i type student id in text input and then trigger function for that?

thdoan

unread,
Jun 5, 2018, 6:26:37 PM6/5/18
to Autofill Chrome Extension
This has been suggested in the past (see https://groups.google.com/forum/#!msg/chrome-autofill/zDVZGvZorBY/7caZnqaKBwAJ). It's something that's on my to-do list, but it's not so easy to implement, so I'm still considering it.

It's possible someday you'll be able to load data from a CSV file stored in Google Drive.

thdoan

unread,
Jun 8, 2018, 4:10:20 AM6/8/18
to Autofill Chrome Extension
Hi, you might be happy to know that you can now load data from a remote file in v8.12.0! Autofill should be auto-updated soon.


On Tuesday, June 5, 2018 at 6:16:15 AM UTC-7, aphorist.gen wrote:

aphori...@gmail.com

unread,
Jun 8, 2018, 5:22:00 AM6/8/18
to Autofill Chrome Extension
Thanks very much...

Very fast response and update.

Yousave my life.

thdoan

unread,
Jun 8, 2018, 5:18:09 PM6/8/18
to Autofill Chrome Extension
Keep in mind the server hosting the text file needs to send the following response headers:

Access-Control-Allow-Origin: *
Content-Type: text/plain

The first header is to prevent cross-origin errors. The second header ensures the text file is served in plain text format (as opposed to HTML).
Reply all
Reply to author
Forward
0 new messages