Hello everyone 😀 😀 ,
I need to create a text field with phone numbers , each user can enter the numbers you want from a to infinity .
I used Multiplier and inserted a text field, but when I go to save in DB saves me only the last value . how can I get all the values ​​and put them in a separate record a DB.
Thanks to everyone for the advice .
Hi massirx,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Bob
Thanks but the problem I have is to configure the receive data in a multiplier. when I put three phones to submit my answers me with an array that contains only the last value. As you can see I only responds with 3 phone but I also added 1 and 2.
Array
(
    [option] => com_chronoforms5
    [chronoform] => frm_auto
    [event] => submit
    [phone] => 3
    [button10] => Submit
)
Hi massirx,
Ah OK, I misunderstood. Please give the element in the multiplier a Field Name of phone[0] and an Field ID of phone_0
Then the second one should get the name phone[1] with id phone_1 etc.
Bob
how can I get all the values ​​and put them in a separate record a DB.
This is tricky, you mean a separate db row ? or how exactly you want to save this ?
The easiest way would be to append the numbers using the handle arrays action.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.