You need to get an Infusionsoft (now known as Keap) form created in a campaign, set the relevant form fields and then publish this. Then you can simply copy and paste the code into your Clickfunnels form.
Once completed I highly recommend you test every time. Make sure you follow the above in the stated order or it will not work! I hope this helps.
Get Infusionsoft (Keap):