Hi there,
I’m trying to add HubSpot tracking too an external form,
I’ve added the tracking code at the top of the code and can see it’s responding in the Network elements,
I want to be able to fill in a form and collect the response to create a Contact on HubSpot, I might be wrong as I am new to this but looking at other forms they seem to get the contact property from the “name=‘email’” from html forms, but I don’t know how you recreate this in Flutter?
This is an example of one of my text fields below:
TextFormField(
autofocus: true,
textInputAction: TextInputAction.next,
decoration: const InputDecoration(
filled: true,
hintText: 'Your email address',
labelText: 'Email',
),
onChanged: (value) {
formData.email = value;
},
),
If anyone has any Flutter experience and working with forms would be very greatful thanks