How can I have Firefox to fill ALL form fields?

2

I am using the latest Firefox.

I am currently web developing and needs a way to automate form filling. There are multiple fields in my form, but Firefox's only fill per-fields (I need to click per-field and press down). I need it to be able to fill all fields, the whole form, and not just one.

I have set "Remember search and form history" in my privacy setting.

How/what are my options? I have tried add-ons but there are none fit my needs.

notalentgeek

Posted 2018-01-11T05:29:48.850

Reputation: 145

Answers

1

You can use

javascript:document.getElementById("yourTextboxId1").value="Yourvalue1";
document.getElementById("yourTextboxId2").value="Yourvalue2";

and so on

Simply copy and paste in the omnibox and press enter on the site (or add it as a bookmark)

Note that if you are testing your own site, it may be easier to set a default value for the textarea

fejyesynb

Posted 2018-01-11T05:29:48.850

Reputation: 443

That's genius. I am testing a framework for front-end I have no access, so I suppose this is the only way :D. Thanks! – notalentgeek – 2018-01-11T07:09:06.897

0

You may automate such changes by using the Firefox add-on Greasemonkey :

Allows you to customize the way a web page displays or behaves, by using small bits of JavaScript.

harrymc

Posted 2018-01-11T05:29:48.850

Reputation: 306 093