ActiveCampaign / activecampaign-api-php

MIT License
115 stars 76 forks source link

Form embed API example script [#118480281] #44

Closed mthommes closed 8 years ago

mthommes commented 8 years ago

Follow-up to #43. Some more updates were needed to get our Ajax option working for our new forms:

  1. The form ID is different now.
  2. If using the Ajax option, change the button type to "button" (so it doesn't submit the form twice).
  3. If no first/last name in the form, an PHP undefined error would show.