Skip to content

Instantly share code, notes, and snippets.

@leadbi
Forked from andrei-tofan/leadbi_native_forms.md
Last active May 26, 2017 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leadbi/a458eb881007c800c045cabfd98ac8af to your computer and use it in GitHub Desktop.
Save leadbi/a458eb881007c800c045cabfd98ac8af to your computer and use it in GitHub Desktop.
LeadBI Native Forms Integration

LeadBI Native Forms Integration

LeadBI Native Forms allows you to capture data from existing website forms.

Target a specific form

To target a specific form you need to specify an html5 id associated with the form, by not specifying it leadbi will try to capture all forms from the page.

Form Attributes

  • Email - any input with the text 'email' in the name field or any input with the attribute data-leadbi-email="true"
  • Full Name - any input with the text 'full?name' in the name field or any input with the attribute data-leadbi-full-name="true"
  • First Name - any input with the text 'first?name' in the name field or any input with the attribute data-leadbi-first-name="true"
  • Last Name - any input with the text 'last?name' in the name field or any input with the attribute data-leadbi-last-name="true"
  • Company - any input with the text 'company' in the name field or any input with the attribute data-leadbi-company="true"
  • Website - any input with the text 'website' in the name field or any input with the attribute data-leadbi-website="true"
  • Phone - any input with the text 'phone' in the name field or any input with the attribute data-leadbi-phone="true"
  • Role - any input with the text 'role' in the name field or any input with the attribute data-leadbi-role="true"
  • Custom1 - any input with the text 'custom1' in the name field or any input with the attribute data-leadbi-custom1="true"
  • Custom2 - any input with the text 'custom2' in the name field or any input with the attribute data-leadbi-custom2="true"
  • Custom3 - any input with the text 'custom3' in the name field or any input with the attribute data-leadbi-custom3="true"
  • Question - any input with the text 'question' in the name field or any input with the attribute data-leadbi-question="true" Note: ? - can be any set of characters or nothing at all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment