How do you create a 'Mother' form?

trayd842 25 Sep, 2010
Ive been searching for this answer as it is unclear to me what or how I create a 'Mother' form.
I understand the concept of Mother and Child but determining which is the mother and the child...is this a case of checking a box to class a form as a Mother/Child? Or is it a case of checking the form in which you want to apply the mulitipage plugin too?
If its just the latter, I can't get this to work. I have the mother form and have clicked and setup the multipage pluging to this form, adding all the names of the Child forms. I have inserted in my article the code "{chronocontact}Mother{/chronocontact}" but on previewing the page all I see is an empty page...which Mother is, an empty form. Arent I sposed to see the first of the Child forms? What am I missing. Any help would be appreciated. Thanks in advance.
GreyHead 25 Sep, 2010
Hi trayd842,

The 'mother' form is just another form except that it has no Form HTML.

You probably haven't enabled the Multi-Page plug-in on the mother form plug-ins tab (a **green** bar is enabled).

Bob
trayd842 25 Sep, 2010
Oh okay, that was easy...but now my next challenge is this message that appears on trying to preview the form:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 523800 bytes)

Whats this all about?

Thanks for your quick reply by the way.
GreyHead 25 Sep, 2010
Hi trayd842,

That's a PHP error saying that you've used all of the memory allocated to PHP. Pretty unusual with a form unless it is very very big or you've got some big calculations or database queries.

Bob
trayd842 25 Sep, 2010
Its an 8 step form with text fields with names...occupation...split up into applicant 1 and 2, emplyment 1 and 2...that shouldnt be too big a form to handle should it? Dont understand where this message is coming from.

That said too, now my article says that there is no form by that name when previewed, when clearly there is that form in my form manager? What the hang is going on?
GreyHead 25 Sep, 2010
Hi trayd842,

Dousen't sound as though the problem is with the form itself. Could be a bug in he code somewhere or something else on the site. Try adding &tmpl=component to the form URL to see if the problem still arises. If it does, check each child form to pin down the specific point that the error is triggered.

Bob
trayd842 28 Sep, 2010
Okay I have overcome all the above issues. My next problem is after clicking the Next (submit) button to go to step 2, it loops back on itself. How do I make the 'next' button go to step 2?

I have named all the steps in my mother form which has the multipage plugin enabled and applied (and disabled on all the child forms).

What am I missing?
GreyHead 28 Sep, 2010
Hi trayd842,

I don't know. Normally it just works. Check that you don't have the name of the first child form listed twice. The list of forms hould be comma separated.

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
This topic is locked and no more replies can be posted.