Practice Form
This is a sample form to help you practice creating autofill rules for all the form fields that Lightning Autofill supports. A rule typically comprises the field type, a name that matches one of the field’s attributes, and the value to autofill. To see a field’s HTML code, right-click on it and select “Inspect”. Please consult the online docs or our AI assistant if you need help.
Form Field
Sample Rule
Type = Text Name =
"fullname" Value = Test UserType = Text Name =
"firstname" Value = TestType = Text Name =
"lastname" Value = UserType = Text Name =
"email" Value = test@user.comType = Text Name =
"username" Value = testuserType = Text Name =
"user" Value = test_userType = Text Name =
"user-id" Value = test.userType = Text Name =
"ctl00_Content_bank" Value = 0123456789Type = Text Name =
"ctl00_Content_bank_nr" Value = 9876543210Type = Text Name =
"passengers[0].passengerName" Value = Test UserType = Text Name =
"color-picker" Value = #0080c0Type = Text Name =
"calendar" Value = 1984-04-01Type = Text Name =
"slider" Value = 4.5Type = Text Name =
"q" Value = autofillType = Text Name =
"clock" Value = 12:00
Editable:
Edit something here...
Type = Text Name =
"editDiv" Value = This field was autofilled!
Current value:
""
Type = Text Name =
"secret" Value = shhhType = Text Name =
"newly-added" Value = TESTType = Password Name =
"pass" Value = blahblahblahType = Password Name =
"pass2" Value = blahblahblah Type = Select Name =
Type = Select Name =
"month" Value = "apr" or 3Type = Select Name =
"year" Value = "1984" or 84 Type = Select Name =
Type = Select Name =
"qty" Value = "5 apples" or 2Type = Select Name =
"stars" Value = "*****" or 5 Type = Select Name =
"multi" Value = "B"|"D" or 1|3Type = Select Name =
"fruit" Value = "Blueberry" or 3
Colors:
Type = Checkbox/Radio Name =
Type = Checkbox/Radio Name =
"green" Value = 1 Type = Checkbox/Radio Name =
"blue" Value = 0
Gender:
Type = Checkbox/Radio Name =
— or —
Type = Checkbox/Radio Name =
"gender" Value = 10— or —
Type = Checkbox/Radio Name =
"Female" Value = 1 Type = JavaScript Value =
document.querySelector('input[name="test1"]').click();Type = JavaScript Value =
document.querySelector('button[name="test2"]').click();Type = JavaScript Value =
document.querySelector('input[type="submit"]').click();Type = Text Name =
"desc" Value = This field was autofilled!External iframe
Type = Text Name =
Type = Text Name =
Type = Text Name =
"message_name" Value = Test User Site = tohodo.neocities.org Type = Text Name =
"message_email" Value = test@user.com Site = tohodo.neocities.org Type = Text Name =
"message_body" Value = Hello, world. Site = tohodo.neocities.org Type = Text Name =
"Rich text editor, ckeditor3" Value = <p style="text-align: center;">This field was autofilled!</p>Type = Text Name =
"Rich Text Editor, ckeditor4" Value = <h1>This field was autofilled!</h1>Type = Text Name =
"Rich Text Editor, main" Value = <blockquote><p>This field was autofilled!</p></blockquote>Type = Text Name =
/\bce-paragraph cdx-block\b/ Value = <b><i>This field was autofilled!</i></b>Type = Text Name =
/\bnicEdit-main\b/ Value = <ul><li>This field was autofilled!<br></li></ul>Type = Text Name =
/\bql-editor\b/ Value = <h3>This field was autofilled!</h3>Type = Text Name =
/\bnote-editable\b/ Value = <span style="background-color: rgb(255, 255, 0);">This field was autofilled!</span>Type = Text Name =
"tinymce_ifr" Value = <pre>This field was autofilled!</pre>Type = Text Name =
/practice/wymeditor/iframe/default/wymiframe.html Value = <ol><li>This field was autofilled!<br></li></ol>YUI 2 Rich Text Editor (not supported in Firefox)
Type = Text Name =
"yui2rte_editor" Value = <b>This field was autofilled!</b>YUI 2 Rich Text Editor (not supported in Firefox)
Type = Text Name =
"yui2rte-iframe_editor" Value = <i>This field was autofilled!</i>Type = Text Name =
[height="99%"] Value = <u>This field was autofilled!</u>