-
Notifications
You must be signed in to change notification settings - Fork 5
Help: Save forms saved input from 0 forms
Jakub Holy edited this page Feb 19, 2019
·
6 revisions
You invoked "Save form(s)" on a form and expected it to be saved in Testofill's options but instead got notified that
Input from 0 forms has been saved [...] (See console log for details)
This happens because only forms with "relevant," user-editable fields are saved, i.e. fields that:
- have a
name
orid
- have a value
- are not
disabled
orreadonly
- are not
<input type=hidden>
If you think that the input from your form should have been saved, consider opening an issue
That is evil but sometimes we are just stuck with that. You cannot save such forms but you can still add them manually at the extension options page. You need to figure out the right Sizzle selector to find the element on the page. Here are a few examples:
-
:input
- all inputs; this will only work if there is just one on the page -
:input:first
- the first input element on the page (button/input/...) -
:text:last
- the last text input -
:checkbox:nth(2)
- the 3rd (0-indexed) checkbox -
:input.awesome-textbox
for<input class="awesome-textbox" ...>