That's where I am at in my skills but Sanford will have better options so if you can follow his advice then great. In that respect I'd also like to see the original solution he mentioned.
I think Sanford might have misunderstood my thinking (my original comment wasn't clear) as I didn't mean to suggest that the whole form/landing page is reloaded every time but just that there'd be a 'Register More People' button/link with additional fields for just the extra information (the names and details of the new people) and that this all remains in the same landing page view.
You've had some slightly 'developer' style answers so far - if I can find the solution Sanford mentioned or something that I can understand as a mere Marketo mortal I will post it here!
I think Sanford might have misunderstood my thinking (my original comment wasn't clear) as I didn't mean to suggest that the whole form/landing page is reloaded every time but just that there'd be a 'Register More People' button/link with additional fields for just the extra information (the names and details of the new people) and that this all remains in the same landing page view.
Then we were actually talking about the same approach!
I think you misunderstood what I was scoffing at, which was the approach in the article you linked to.
Do you know where that solution document/article was posted? I am having trouble finding it.
By which I mean:
The approach Pavel and Jim refer to is cleaner, faster, more manageable. At least a year and a half ago I posted a demo of recursively posting the same form across a list of email addresses.
Somewhere in my comment history... back then I was posting demos on jsFiddle (as opposed to on my CodePen). I'll dig it out.
Can you send me that post please so I can see if I can do it?
The 'Add friends' button sounds ideal - let's all hope Sanford can find his original post.
I'm struggling to get my Norwegian colleagues on board with Marketo because at the moment they can use our own software (Feedback Management tools) to create their Landing Page, multiple Registrations etc - so they're shouting 'why should we change!!!'
I don't need anyone to tell me the answer to that - all I need is to see how close to their status quo I can get with Marketo...with my limited abilities!
🙂
MktoForms2 :: Iterative Referral Form​
Note because of the sensitive nature of this form, the demo does not allow you to submit to my instance. You should fork the code and use your own form and instance.
In the demo, I'm using a Rich Text area with a bunch of <INPUT type="email" name="referral"> to hold the referrals. This could be done in a lot of different ways -- accordion, "Click to Add More," etc. -- but the underlying effect is the same, to create an array of referral emails that is then posted to Marketo one after another, creating/updating a Marketo lead for each.
The current code doesn't deal gracefully with a referral that has an invalid email address (it aborts if it finds one). This could be dealt with with some additional logic.
Yeah ok - this is where my Marketo knowledge limit is reached I'm afraid - I don't really know what to do with this to be honest...
Cheers anyway!
Mike
Hello Michael,
I would be happy to walk you through Sanford's demo. Follow me on the community or send me an email at pavel@revenue2.com.
Best,
Pavel