data-mobile-autofocus

Used to specify whether the form should scroll to the form content on page load. Forms hosted by Online Actions have this parameter set to true. If you embed the form without this attribute, those will load as if you had specified it to be false.

  • Default: false
  • Options:
    • true - after the form loads on mobile devices, the form will scroll such that the form content is within the viewport.
    • false - no scroll will happen on form load.

Example:

<div class="ngp-form" data-id="12345" data-mobile-autofocus="true"></div>