Auto submit

331 views
Skip to first unread message

AYUSH JAIN IPM 2020 -25 Batch

unread,
Feb 17, 2022, 5:43:54 AM2/17/22
to Autofill Extension
After filling up the form, how to auto submit it? 

For reference, I am trying to auto-submit a google form. I can fill the form but I still have to click on the submit button.

Can I automate this process?

Alex B

unread,
Feb 17, 2022, 6:14:41 AM2/17/22
to Autofill Extension
I am adding formfield - javascript code with the value - document.querySelector('button[name="button_1"]').click();

четверг, 17 февраля 2022 г. в 15:43:54 UTC+5, AYUSH JAIN IPM 2020 -25 Batch:

AYUSH JAIN IPM 2020 -25 Batch

unread,
Feb 17, 2022, 6:20:03 AM2/17/22
to Autofill Extension
Doesn't seem to work 

Can you try this code with this form


Thank you

Autofill Extension

unread,
Feb 17, 2022, 6:09:16 PM2/17/22
to Autofill Extension
Try this JS rule:

let form = document.getElementById('mG61Hd');
form?.submit();

AYUSH JAIN IPM 2020 -25 Batch

unread,
Feb 18, 2022, 12:33:20 AM2/18/22
to Autofill Extension
Works.

Thank you

Autofill Extension

unread,
Feb 18, 2022, 3:47:43 PM2/18/22
to Autofill Extension
Cool, glad it worked. You can use this same technique for any form -- if adding click() to submit button doesn't work, use submit() on the form itself.

Lilian Kwok

unread,
Feb 24, 2022, 8:01:22 PM2/24/22
to Autofill Extension
I tried but it goes into a loop and does not submit :(

Autofill Extension

unread,
Feb 25, 2022, 5:59:58 PM2/25/22
to Autofill Extension
Lilian, every form is different and may require different solutions. Can you provide URL?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages