Forums

what is the difference between area and how to use it?

webcrea 30 Apr, 2018
hi,

I would want make a form where i ask to a person each child he have (name and birthdate).
How to make this and wich area i should use please?

Thanks
Regards
healyhatman 30 Apr, 2018
You will want a repeater area for that. There's a manual / guide you can read
webcrea 02 May, 2018
Hi healy

Thanks
Regards
Chris
healyhatman 02 May, 2018
No problem.

http://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5290-how-to-use-the-repeater-area
webcrea 02 May, 2018
Ok
Nice, I 'll try...
Chris
webcrea 09 May, 2018
Hi,

Only the last prenom is saved
Array
(
    [chronoform] => mieux-vous-connaitre
    [event] => submit
    [genre] => Mr
    [nom] => hou
    [prenom] => chris
    [enfants] => Array
        (
            [n] => Array
                (
                    [prenom] => moira
                    [date_naissance] => 
                )

        )

    [button11] => 
    [720planBAK] => R3744883206
    [a146f7452dd44ccfce7d8c41201ede90] => 7029ac1311ddf0efa509fd7a15a752f2
    [f1d49ec7bfdc9e863f230cb850acd4d2] => 5d809ca894d5ac01b2871bb187efbbac
    [_ga] => GA1.2.1732574282.1525848590
    [_gid] => GA1.2.3886088.1525848590
    [joomla_user_state] => logged_in
    [720planD] => R1415157273
    [_gat] => 1
    [Itemid] => 585
    [option] => com_chronoforms6
    [view] => form
)

Best regards
Chris
GreyHead 09 May, 2018
Answer
Hi Christophe,

Hmmm . . . the FAQ isn't very clear - in the first part it says to use -N- as the replacement counter so I wonder if you need to name the input enfants[-N-][prenom]

There is also a different syntax used in page 40 of the CFv6 manual ??

Bob
webcrea 09 May, 2018
Hi Bob,

Thank you, with -N- it's all right

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