Skip to content

Custom Fields Matching

Hussein Shabbir edited this page Jul 18, 2020 · 6 revisions

Please see the Customization using Custom Fields and Profiles page for a more up-to-date guide on custom fields.

Fake Filler can use the ID, NAME, CLASS, and PLACEHOLDER values of an input field in addition to the label text to determine its data type. You can determine what the extension will use to match input fields by changing the settings in the General section of the options page. You can adjust the search phrases in the Match field to tweak how Fake Filler determines the correct data type.

Basically, any partial match in the attributes underlined:

<label for="match">match</label>
<input type="anything" id="match" name="match" class="match" />

When creating custom fields, and deciding what to put in the Match field, please note that:

  • Attributes take precedence over any configuration and may override it in some cases, so <input type="tel" name="first_name" /> will fill in a telephone - not a first name,
  • The fields are matched based on the order of the custom fields, and
  • All punctuation are removed before being matched (e.g. user_name will become username). Therefore, if you have <input type="text" name="user[1].first_name" /> as the input field, the extension will convert the name to userfirstname.
Clone this wiki locally