Forums

How to use Unique_id Action

WebFoc 12 Oct, 2016
Hi everybody,
I've created a multipage form that works well as an order form.
I've installed also the Unique_id [GH] action because I'd like to have an order number for identifying every submissions that means every single order, but it doesn't seem to work.

I need to record the unique_id in the database table created for the form and I'd like to place it also in the confirmation mail to the user.

I've placed the action into "On submit" table, just before the DB Save, I've enabled the action and selected the data table and the table column (uniq_id for overwrite the default uniq_id generated by chronoforms), but bothing happens.
GreyHead 12 Oct, 2016
Hi WebFoc,

Please drag a Debugger action into the On Submit event, then submit the form and copy and paste the debug results here.

I'm not sure that it will work if you use uniq_id as the name - I suspect that the ChronoForms DB Save will over-write the Unique ID value.

Bob
WebFoc 12 Oct, 2016
Hi Grey Head,
How can I read the debug results?
GreyHead 12 Oct, 2016
Hi WebFoc,

Normally they are displayed when the form submits - unless you have a ReDirect action in which case you should also temporarily add a Show Stopper action after the Debugger and before the ReDirect.

Bob
WebFoc 12 Oct, 2016
Thank you,
this is the result that appears into the debug info tab:
Array
(
    [46] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `wlgu0_prova2` (`treottoberlina`, `qttreottoberlina`, `tottreottoberlina`, `telaitreottoberlina`, `treottosw`, `qttreottosw`, `tottreottosw`, `telaitreottosw`, `duemilaotto`, `qtduemilaotto`, `totduemilaotto`, `telaiduemilaotto`, `cinqueottosw`, `qtcinqueottosw`, `totcinqueottosw`, `telaicinqueottosw`, `totale`, `Ordina`, `button68`, `cf_id`, `user_id`, `email`, `name`, `Azienda`, `Piva`, `Citta`, `Provincia`, `Indirizzo`, `button80`, `created`) values ('1006.50', '5', '5032.50', '', '1006.50', '0', '0.00', '', '1006.50', '0', '0.00', '', '1006.50', '0', '0.00', '', '5032.50', 'Ordina', 'Conferma', '1', '136', 'antonio_xxx@gmail.com', 'Antonio Pagano', 'Focaccia Group SRL', '02422050399', 'Cervia', 'Ravenna', 'Via delle Azalee, 23 A', 'Ordina', '2016-10-12 14:02:01');
                        )

                )

        )

    [47] => Array
        (
            [TCPDF] => Array
                (
                    [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeot/Ordine-N1FG-Peugeot_20161012140201.pdf has been saved correctly.
                )

        )

    [18] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:web@focaccia.net
                    [2] => Subject:Ordine Autocarri n {ordine}
                    [3] => From name:Omologazioni Autocarri 
                    [4] => From email:ufficio.omologazioni@xxxxxx.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => 20161012140201.pdf
                        )

                    [11] => Body:
<table>
<tbody>
<tr>
<td>308 Berlina</td>
<td><strong>1006.50</strong></td>
</tr>
<tr>
<td> </td>
<td>5</td>
</tr>
<tr>
<td> </td>
<td>5032.50</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>308 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>2008</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>508 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>Totale Euro</td>
<td>5032.50</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Nome e Cognome</td>
<td>Antonio Pagano</td>
</tr>
<tr>
<td>Azienda</td>
<td>Focaccia Group SRL</td>
</tr>
<tr>
<td>Partita Iva</td>
<td>02422050399</td>
</tr>
<tr>
<td>Citta</td>
<td>Cervia</td>
</tr>
<tr>
<td>Provincia</td>
<td>Ravenna</td>
</tr>
<tr>
<td>Indirizzo</td>
<td>Via delle Azalee, 23 A</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
</tbody>
</table>
<p></p>

 <br /><br />IP: 94.94.136.48
                )

        )

    [48] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:antonio_xxx@gmail.com
                    [2] => Subject:Conferma Ricevimento Ordine Omologazioni Autocarro 
                    [3] => From name:Ufficio Omologazioni
                    [4] => From email:ufficio.omologazioni@xxxxxx.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:name
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => 20161012140201.pdf
                        )

                    [11] => Body:
<table>
<tbody>
<tr>
<td>308 Berlina</td>
<td><strong>1006.50</strong></td>
</tr>
<tr>
<td> </td>
<td>5</td>
</tr>
<tr>
<td> </td>
<td>5032.50</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>308 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>2008</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>508 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>Totale Euro</td>
<td>5032.50</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Nome e Cognome</td>
<td>Antonio Pagano</td>
</tr>
<tr>
<td>Azienda</td>
<td>Focaccia Group SRL</td>
</tr>
<tr>
<td>Partita Iva</td>
<td>02422050399</td>
</tr>
<tr>
<td>Citta</td>
<td>Cervia</td>
</tr>
<tr>
<td>Provincia</td>
<td>Ravenna</td>
</tr>
<tr>
<td>Indirizzo</td>
<td>Via delle Azalee, 23 A</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
</tbody>
</table>
<p></p><br /><br />IP: 94.94.136.48
                )

        )

)
GreyHead 12 Oct, 2016
Hi WebFoc,

I can see from this that the pdf is being correctly created and saved (I downloaded it to check) but the file name is Ordine-N1FG-Peugeot_20161012140201.pdf while the Email attachment is trying to use a file name of just 20161012140201.pdf with the first part - Ordine-N1FG-Peugeot_ - missing. I can't see why that is. Are there any clues in the Data Array part of the Debugger output that you didn't post here?

Bob
WebFoc 12 Oct, 2016
Hi GreyHead.
The form works well...I've just deleted some parts of the debug result.

The only thing that I can't fix is why the Unique_Id Action doesn't generate any code.
GreyHead 13 Oct, 2016
Hi WebFoc,

Have you checked the debugger output to see if there is a code being generated?

Bob
WebFoc 14 Oct, 2016
Is there a tutorial that explains how to set the Unique_Id Action?
GreyHead 14 Oct, 2016
Hi WebFoc,

Please see the Help section at the end of the action settings. There really isn’t much else to say.

Bob
WebFoc 14 Oct, 2016
I have a 3 page form and I placed the Unique_Id Action in the Submit Action just before DBRead as you can see in the image below




but nothing happens.
GreyHead 14 Oct, 2016
Hi WebFoc,

The Ident pattern is empty so the generated ID will be empty.

Bob
WebFoc 14 Oct, 2016
I've filled the field but doesn't work
WebFoc 14 Oct, 2016
Here's the nwe Unique_id setting




and this is the results in my database table. As you see the "NumeroOrdine" column is always empty

GreyHead 15 Oct, 2016
Hi WebFoc,

Please read the Help text - 777 will not work: "Use A and or 9 to indicate alpha or numeric characters. "

I also asked you to post the rest of the Debugger output.

Bob
WebFoc 15 Oct, 2016
Thank for your help GreyHead but it seems there's no way to make it work.
I created lso another database table.





Here's the debug result

Array
(
    [51] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `wlgu0_OrdiniAutocarroPeugeot` (`NumeroOrdine`, `treottoberlina`, `qttreottoberlina`, `tottreottoberlina`, `TelaioUnoTrecentootto`, `TelaioDueTrecentootto`, `TelaioTreTrecentootto`, `TelaioQuattroTrecentootto`, `TelaioCinqueTrecentootto`, `TelaioSeiTrecentootto`, `TelaioSetteTrecentootto`, `TelaioOttoTrecentootto`, `TelaioNoveTrecentootto`, `TelaioDieciTrecentootto`, `treottosw`, `qttreottosw`, `tottreottosw`, `TelaioUnoTrecentoottoSw`, `TelaioDueTrecentoottoSw`, `TelaioTreTrecentoottoSw`, `TelaioQuattroTrecentoottoSw`, `TelaioCinqueTrecentoottoSw`, `TelaioSeiTrecentoottoSw`, `TelaioSetteTrecentoottoSw`, `TelaioOttoTrecentoottoSw`, `TelaioNoveTrecentoottoSw`, `TelaioDieciTrecentoottoSw`, `duemilaotto`, `qtduemilaotto`, `totduemilaotto`, `TelaioUnoDuemilaotto`, `TelaioDueDuemilaotto`, `TelaioTreDuemilaotto`, `TelaioQuattroDuemilaotto`, `TelaioCinqueDuemilaotto`, `TelaioSeiDuemilaotto`, `TelaioSetteDuemilaotto`, `TelaioOttoDuemilaotto`, `TelaioNoveDuemilaotto`, `TelaioDieciDuemilaotto`, `cinqueottosw`, `qtcinqueottosw`, `totcinqueottosw`, `TelaioUnoCinquecentoottoSw`, `TelaioDueCinquecentoottoSw`, `TelaioTreCinquecentoottoSw`, `TelaioQuattroCinquecentoottoSw`, `TelaioCinqueCinquecentoottoSw`, `TelaioSeiCinquecentoottoSw`, `TelaioSetteCinquecentoottoSw`, `TelaioOttoCinquecentoottoSw`, `TelaioNoveCinquecentoottoSw`, `TelaioDieciCinquecentoottoSw`, `totale`, `Ordina`, `button68`, `cf_id`, `user_id`, `email`, `name`, `Azienda`, `Piva`, `Citta`, `Provincia`, `Indirizzo`, `button80`, `uniq_id`, `created`) values ('', '1006.50', '2', '2013.00', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '2013.00', 'Ordina', 'Conferma', '1', '136', 'antoniopagano83@gmail.com', 'Antonio Pagano', 'Focaccia Group SRL', '02422050399', 'Cervia', 'Ravenna', 'Via delle Azalee, 23 A', 'Ordina', '10b4538e4fe27f9f3ec6666fca4d1489691c8ab2', '2016-10-15 13:19:23');
                        )

                )

        )

    [47] => Array
        (
            [TCPDF] => Array
                (
                    [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015131923.pdf has been saved correctly.
                )

        )

    [18] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:web@focaccia.net
                    [2] => Subject:Ordine Autocarri Peugeot n 
                    [3] => From name:Omologazioni Autocarri Focaccia Group
                    [4] => From email:ufficio.omologazioni@focaccia.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015131923.pdf
                        )

                    [11] => Body:
<table>
<tr><td>308 Berlina</td><td>1006.50</td></tr>
<tr><td></td><td>2</td></tr>
<tr><td></td><td>2013.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>308 Station Wagon</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>2008</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>508 Station Wagon</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>Totale €</td><td>2013.00</td></tr>
<tr><td></td><td></td></tr>
<tr><td>cf_id</td><td>1</td></tr>
<tr><td>user_id</td><td>136</td></tr>
<tr><td>email</td><td>antoniopagano83@gmail.com</td></tr>
<tr><td>Nome e Cognome</td><td>Antonio Pagano</td></tr>
<tr><td>Azienda</td><td>Focaccia Group SRL</td></tr>
<tr><td>Partita Iva</td><td>02422050399</td></tr>
<tr><td>Citta</td><td>Cervia</td></tr>
<tr><td>Provincia</td><td>Ravenna</td></tr>
<tr><td>Indirizzo</td><td>Via delle Azalee, 23 A</td></tr>
<tr><td></td><td></td></tr>
</table>
<br /><br />IP: 95.239.246.141
                )

        )

    [48] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:antoniopagano83@gmail.com
                    [2] => Subject:Conferma Ricevimento Ordine Omologazioni Autocarro Peugeot 
                    [3] => From name:Ufficio Omologazioni Focaccia Group
                    [4] => From email:ufficio.omologazioni@focaccia.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:name
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015131923.pdf
                        )

                    [11] => Body:
<table>
<tbody>
<tr>
<td>308 Berlina</td>
<td><strong>1006.50</strong></td>
</tr>
<tr>
<td> </td>
<td>2</td>
</tr>
<tr>
<td> </td>
<td>2013.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>308 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>2008</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>508 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>Totale Euro</td>
<td>2013.00</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Nome e Cognome</td>
<td>Antonio Pagano</td>
</tr>
<tr>
<td>Azienda</td>
<td>Focaccia Group SRL</td>
</tr>
<tr>
<td>Partita Iva</td>
<td>02422050399</td>
</tr>
<tr>
<td>Citta</td>
<td>Cervia</td>
</tr>
<tr>
<td>Provincia</td>
<td>Ravenna</td>
</tr>
<tr>
<td>Indirizzo</td>
<td>Via delle Azalee, 23 A</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
</tbody>
</table>
<p></p><br /><br />IP: 95.239.246.141
                )

        )

)
WebFoc 15 Oct, 2016
The previous screenshot of the Unique_id settings wasn't correct

GreyHead 15 Oct, 2016
Hi WebFoc,

Please post the whole of the Debugger output. If the Unique ID action is enabled it should show up there.

Bob
WebFoc 15 Oct, 2016
This is the complete debug info:
Array
(
    [51] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `wlgu0_OrdiniAutocarroPeugeot` (`NumeroOrdine`, `treottoberlina`, `qttreottoberlina`, `tottreottoberlina`, `TelaioUnoTrecentootto`, `TelaioDueTrecentootto`, `TelaioTreTrecentootto`, `TelaioQuattroTrecentootto`, `TelaioCinqueTrecentootto`, `TelaioSeiTrecentootto`, `TelaioSetteTrecentootto`, `TelaioOttoTrecentootto`, `TelaioNoveTrecentootto`, `TelaioDieciTrecentootto`, `treottosw`, `qttreottosw`, `tottreottosw`, `TelaioUnoTrecentoottoSw`, `TelaioDueTrecentoottoSw`, `TelaioTreTrecentoottoSw`, `TelaioQuattroTrecentoottoSw`, `TelaioCinqueTrecentoottoSw`, `TelaioSeiTrecentoottoSw`, `TelaioSetteTrecentoottoSw`, `TelaioOttoTrecentoottoSw`, `TelaioNoveTrecentoottoSw`, `TelaioDieciTrecentoottoSw`, `duemilaotto`, `qtduemilaotto`, `totduemilaotto`, `TelaioUnoDuemilaotto`, `TelaioDueDuemilaotto`, `TelaioTreDuemilaotto`, `TelaioQuattroDuemilaotto`, `TelaioCinqueDuemilaotto`, `TelaioSeiDuemilaotto`, `TelaioSetteDuemilaotto`, `TelaioOttoDuemilaotto`, `TelaioNoveDuemilaotto`, `TelaioDieciDuemilaotto`, `cinqueottosw`, `qtcinqueottosw`, `totcinqueottosw`, `TelaioUnoCinquecentoottoSw`, `TelaioDueCinquecentoottoSw`, `TelaioTreCinquecentoottoSw`, `TelaioQuattroCinquecentoottoSw`, `TelaioCinqueCinquecentoottoSw`, `TelaioSeiCinquecentoottoSw`, `TelaioSetteCinquecentoottoSw`, `TelaioOttoCinquecentoottoSw`, `TelaioNoveCinquecentoottoSw`, `TelaioDieciCinquecentoottoSw`, `totale`, `Ordina`, `button68`, `cf_id`, `user_id`, `email`, `name`, `Azienda`, `Piva`, `Citta`, `Provincia`, `Indirizzo`, `button80`, `uniq_id`, `created`) values ('', '1006.50', '7', '7045.50', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '1006.50', '0', '0.00', '', '', '', '', '', '', '', '', '', '', '7045.50', 'Ordina', 'Conferma', '2', '137', 'focacciamail@gmail.com', 'Antonio Prova', 'Antonio Pagano', '12345678', 'Tito', 'PZ', 'C.da Spinoso', 'Ordina', '1ac5a82b2716376b816e375b4dc9a6ee2c05b6e1', '2016-10-15 13:52:03');
                        )

                )

        )

    [47] => Array
        (
            [TCPDF] => Array
                (
                    [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015135203.pdf has been saved correctly.
                )

        )

    [18] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:web@focaccia.net
                    [2] => Subject:Ordine Autocarri Peugeot n {NumeroOrdine}
                    [3] => From name:Omologazioni Autocarri Focaccia Group
                    [4] => From email:ufficio.omologazioni@focaccia.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015135203.pdf
                        )

                    [11] => Body:
<table>
<tr><td>308 Berlina</td><td>1006.50</td></tr>
<tr><td></td><td>7</td></tr>
<tr><td></td><td>7045.50</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>308 Station Wagon</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>2008</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>508 Station Wagon</td><td>1006.50</td></tr>
<tr><td></td><td>0</td></tr>
<tr><td></td><td>0.00</td></tr>
<tr><td>Telaio 1</td><td></td></tr>
<tr><td>Telaio 2</td><td></td></tr>
<tr><td>Telaio 3</td><td></td></tr>
<tr><td>Telaio 4</td><td></td></tr>
<tr><td>Telaio 5</td><td></td></tr>
<tr><td>Telaio 6</td><td></td></tr>
<tr><td>Telaio 7</td><td></td></tr>
<tr><td>Telaio 8</td><td></td></tr>
<tr><td>Telaio 9</td><td></td></tr>
<tr><td>Telaio 10</td><td></td></tr>
<tr><td>Totale €</td><td>7045.50</td></tr>
<tr><td></td><td></td></tr>
<tr><td>cf_id</td><td>2</td></tr>
<tr><td>user_id</td><td>137</td></tr>
<tr><td>email</td><td>focacciamail@gmail.com</td></tr>
<tr><td>Nome e Cognome</td><td>Antonio Prova</td></tr>
<tr><td>Azienda</td><td>Antonio Pagano</td></tr>
<tr><td>Partita Iva</td><td>12345678</td></tr>
<tr><td>Citta</td><td>Tito</td></tr>
<tr><td>Provincia</td><td>PZ</td></tr>
<tr><td>Indirizzo</td><td>C.da Spinoso</td></tr>
<tr><td></td><td></td></tr>
</table>
<br /><br />IP: 95.239.246.141
                )

        )

    [48] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:focacciamail@gmail.com
                    [2] => Subject:Conferma Ricevimento Ordine Omologazioni Autocarro Peugeot 
                    [3] => From name:Ufficio Omologazioni Focaccia Group
                    [4] => From email:ufficio.omologazioni@focaccia.net
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:name
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                            [0] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015135203.pdf
                        )

                    [11] => Body:
<table>
<tbody>
<tr>
<td>308 Berlina</td>
<td><strong>1006.50</strong></td>
</tr>
<tr>
<td> </td>
<td>7</td>
</tr>
<tr>
<td> </td>
<td>7045.50</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>308 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>2008</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>508 Station Wagon</td>
<td>1006.50</td>
</tr>
<tr>
<td> </td>
<td>0</td>
</tr>
<tr>
<td> </td>
<td>0.00</td>
</tr>
<tr>
<td>Numeri Telaio</td>
<td></td>
</tr>
<tr>
<td>Totale Euro</td>
<td>7045.50</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Nome e Cognome</td>
<td>Antonio Prova</td>
</tr>
<tr>
<td>Azienda</td>
<td>Antonio Pagano</td>
</tr>
<tr>
<td>Partita Iva</td>
<td>12345678</td>
</tr>
<tr>
<td>Citta</td>
<td>Tito</td>
</tr>
<tr>
<td>Provincia</td>
<td>PZ</td>
</tr>
<tr>
<td>Indirizzo</td>
<td>C.da Spinoso</td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
</tbody>
</table>
<p></p><br /><br />IP: 95.239.246.141
                )

        )

)

Then I have another tab called Data Array:
Array
(
    [option] => com_chronoforms5
    [chronoform] => ModuloOrdinePeugeotNew
    [event] => submit
    [NumeroOrdine] => 
    [treottoberlina] => 1006.50
    [qttreottoberlina] => 7
    [tottreottoberlina] => 7045.50
    [TelaioUnoTrecentootto] => 
    [TelaioDueTrecentootto] => 
    [TelaioTreTrecentootto] => 
    [TelaioQuattroTrecentootto] => 
    [TelaioCinqueTrecentootto] => 
    [TelaioSeiTrecentootto] => 
    [TelaioSetteTrecentootto] => 
    [TelaioOttoTrecentootto] => 
    [TelaioNoveTrecentootto] => 
    [TelaioDieciTrecentootto] => 
    [treottosw] => 1006.50
    [qttreottosw] => 0
    [tottreottosw] => 0.00
    [TelaioUnoTrecentoottoSw] => 
    [TelaioDueTrecentoottoSw] => 
    [TelaioTreTrecentoottoSw] => 
    [TelaioQuattroTrecentoottoSw] => 
    [TelaioCinqueTrecentoottoSw] => 
    [TelaioSeiTrecentoottoSw] => 
    [TelaioSetteTrecentoottoSw] => 
    [TelaioOttoTrecentoottoSw] => 
    [TelaioNoveTrecentoottoSw] => 
    [TelaioDieciTrecentoottoSw] => 
    [duemilaotto] => 1006.50
    [qtduemilaotto] => 0
    [totduemilaotto] => 0.00
    [TelaioUnoDuemilaotto] => 
    [TelaioDueDuemilaotto] => 
    [TelaioTreDuemilaotto] => 
    [TelaioQuattroDuemilaotto] => 
    [TelaioCinqueDuemilaotto] => 
    [TelaioSeiDuemilaotto] => 
    [TelaioSetteDuemilaotto] => 
    [TelaioOttoDuemilaotto] => 
    [TelaioNoveDuemilaotto] => 
    [TelaioDieciDuemilaotto] => 
    [cinqueottosw] => 1006.50
    [qtcinqueottosw] => 0
    [totcinqueottosw] => 0.00
    [TelaioUnoCinquecentoottoSw] => 
    [TelaioDueCinquecentoottoSw] => 
    [TelaioTreCinquecentoottoSw] => 
    [TelaioQuattroCinquecentoottoSw] => 
    [TelaioCinqueCinquecentoottoSw] => 
    [TelaioSeiCinquecentoottoSw] => 
    [TelaioSetteCinquecentoottoSw] => 
    [TelaioOttoCinquecentoottoSw] => 
    [TelaioNoveCinquecentoottoSw] => 
    [TelaioDieciCinquecentoottoSw] => 
    [totale] => 7045.50
    [Ordina] => Ordina
    [button68] => Conferma
    [cf_id] => 2
    [user_id] => 137
    [email] => focacciamail@gmail.com
    [name] => Antonio Prova
    [Azienda] => Antonio Pagano
    [Piva] => 12345678
    [Citta] => Tito
    [Provincia] => PZ
    [Indirizzo] => C.da Spinoso
    [button80] => Ordina
    [id] => 9
    [Ordine-N1FG-Peugeot] => Ordine-N1FG-Peugeot_20161015135203.pdf
    [ip_address] => 95.239.246.141
)
Array
(
    [Ordine-N1FG-Peugeot] => Array
        (
            [name] => Ordine-N1FG-Peugeot_20161015135203.pdf
            [path] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015135203.pdf
            [size] => 0
            [link] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161015135203.pdf
        )

)
WebFoc 15 Oct, 2016
the only thing is to use the id record as Order Number,
GreyHead 16 Oct, 2016
Hi WebFoc,

It was the 'Data Array' part of the Debugger output I was looking for, There is no trace of the Unique ID [GH} action there so I'd guess that it either isn't enabled or is after the Debugger action.

Bob
WebFoc 16 Oct, 2016
Hi GrayHead,
here's the Data Array result
Array
(
    [option] => com_chronoforms5
    [chronoform] => ModuloOrdinePeugeotNew
    [event] => submit
    [NumeroOrdine] => 
    [treottoberlina] => 1006.50
    [qttreottoberlina] => 2
    [tottreottoberlina] => 2013.00
    [TelaioUnoTrecentootto] => 
    [TelaioDueTrecentootto] => 
    [TelaioTreTrecentootto] => 
    [TelaioQuattroTrecentootto] => 
    [TelaioCinqueTrecentootto] => 
    [TelaioSeiTrecentootto] => 
    [TelaioSetteTrecentootto] => 
    [TelaioOttoTrecentootto] => 
    [TelaioNoveTrecentootto] => 
    [TelaioDieciTrecentootto] => 
    [treottosw] => 1006.50
    [qttreottosw] => 0
    [tottreottosw] => 0.00
    [TelaioUnoTrecentoottoSw] => 
    [TelaioDueTrecentoottoSw] => 
    [TelaioTreTrecentoottoSw] => 
    [TelaioQuattroTrecentoottoSw] => 
    [TelaioCinqueTrecentoottoSw] => 
    [TelaioSeiTrecentoottoSw] => 
    [TelaioSetteTrecentoottoSw] => 
    [TelaioOttoTrecentoottoSw] => 
    [TelaioNoveTrecentoottoSw] => 
    [TelaioDieciTrecentoottoSw] => 
    [duemilaotto] => 1006.50
    [qtduemilaotto] => 0
    [totduemilaotto] => 0.00
    [TelaioUnoDuemilaotto] => 
    [TelaioDueDuemilaotto] => 
    [TelaioTreDuemilaotto] => 
    [TelaioQuattroDuemilaotto] => 
    [TelaioCinqueDuemilaotto] => 
    [TelaioSeiDuemilaotto] => 
    [TelaioSetteDuemilaotto] => 
    [TelaioOttoDuemilaotto] => 
    [TelaioNoveDuemilaotto] => 
    [TelaioDieciDuemilaotto] => 
    [cinqueottosw] => 1006.50
    [qtcinqueottosw] => 0
    [totcinqueottosw] => 0.00
    [TelaioUnoCinquecentoottoSw] => 
    [TelaioDueCinquecentoottoSw] => 
    [TelaioTreCinquecentoottoSw] => 
    [TelaioQuattroCinquecentoottoSw] => 
    [TelaioCinqueCinquecentoottoSw] => 
    [TelaioSeiCinquecentoottoSw] => 
    [TelaioSetteCinquecentoottoSw] => 
    [TelaioOttoCinquecentoottoSw] => 
    [TelaioNoveCinquecentoottoSw] => 
    [TelaioDieciCinquecentoottoSw] => 
    [totale] => 2013.00
    [Ordina] => Ordina
    [button68] => Conferma
    [cf_id] => 2
    [user_id] => 137
    [email] => focacciamail@gmail.com
    [name] => Antonio Prova
    [Azienda] => Antonio Pagano
    [Piva] => 12345678
    [Citta] => Tito
    [Provincia] => PZ
    [Indirizzo] => C.da Spinoso
    [button80] => Ordina
    [id] => 20
    [Ordine-N1FG-Peugeot] => Ordine-N1FG-Peugeot_20161016135625.pdf
    [ip_address] => 95.239.246.141
)
Array
(
    [Ordine-N1FG-Peugeot] => Array
        (
            [name] => Ordine-N1FG-Peugeot_20161016135625.pdf
            [path] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161016135625.pdf
            [size] => 0
            [link] => /home/siti/www.focaccia.net/focaccia.net/htdocs/focacciagroup.com/components/com_chronoforms5/chronoforms/pdfs/ModuloOrdinePeugeotNew/Ordine-N1FG-Peugeot_20161016135625.pdf
        )

)


As you can see in the screenshots below the Unique Id is enabled and is placed before the debugger action.



GreyHead 16 Oct, 2016
Hi WebFoc,

I can see that the entry is there - but is empty [NumeroOrdine] =>

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

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