When I fill in the HubSpot form field "email" with "jane@example.com"

Fill a field, located by its name attribute, inside the page's HubSpot form.

Examples

When I fill in the HubSpot form field "email" with "jane@example.com"
When I fill in the HubSpot form field "firstname" with "Jane"
And I fill in the form field "lastname" with "Doe"
And fill in the HubSpot form field "message" with "Please call me back"
When we fill in the form field "email" with "test@acme.com"

Pattern

When(/^(I |we )*fill in the (?:HubSpot )?form field "([^"]*)?" with "([^"]*)?"$/, …)

Part of @webship-js/hubspot-cms-steps (github.com/webship/hubspot-cms-steps), a step pack for Webship-js 2.0.x.