Input File don't save the name on db. Chronoform V4

lifecolor 24 Mar, 2017
Hello,
I have a problem.
1. I have created a form.
2. I have created a table for this form
3. I have insert the action "DB Save" - "On Submit" and I have connected the db created

If I do a test, save correctly all data, but not the input file!!!
In the folder save the file, but in "show data" don't save the name of this file.

Can you help me? Sorry for my english.
Thanks
Life Color Communication srl
GreyHead 24 Mar, 2017
Hi lifecolor,

Is the Files Upload action before the DB Save action?

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

Bob
lifecolor 24 Mar, 2017
Data Array:

Array
(
    [chronoform] => lavoraconnoi
    [event] => submit
    [Nome] => tiziano
    [Cognome] => cocilova
    [Email] => t.cocilova@lifecolor.eu
    [Nazionalita] => italiana
    [Datadinascita] => 13/09/1981
    [Statocivile] => celibenubile
    [Serviziomilitare] => esente
    [Indirizzo] => via
    [Citta] => citta
    [Nazione] => nazione
    [Telefono] => tel
    [curriculum] => 
    [Notecv] => note
    [Privacy] => Accetto
    [chrono_verification] => hPGRQ
    [input_submit_6] => invia
    [9ec685df52ad717e162cfbaefe82a855] => 1
    [chronoform_data] => Array
        (
            [cf_uid] => 3615092585957b5ebc8bddc5da115191
            [cf_created] => 2017-03-24 17:49:57
            [cf_created_by] => 0
            [cf_ipaddress] => 79.62.201.145
            [cf_user_id] => 0
            [chronoform] => lavoraconnoi
            [event] => submit
            [Nome] => tiziano
            [Cognome] => cocilova
            [Email] => t.cocilova@lifecolor.eu
            [Nazionalita] => italiana
            [Datadinascita] => 13/09/1981
            [Statocivile] => celibenubile
            [Serviziomilitare] => esente
            [Indirizzo] => via
            [Citta] => citta
            [Nazione] => nazione
            [Telefono] => tel
            [curriculum] => 
            [Notecv] => note
            [Privacy] => Accetto
            [chrono_verification] => hPGRQ
            [input_submit_6] => invia
            [9ec685df52ad717e162cfbaefe82a855] => 1
            [cf_id] => 2
        )

    [chronoform_data_cf_id] => 2
)

Validation Errors:

Array
(
)

Debug Data

    Core Captcha
        Passed the core captcha check!
    Upload routine started for file upload by : curriculum
    /var/www/vhosts/jesi.tv/httpdocs/acifarfisa/components/com_chronoforms/uploads/lavoraconnoi/20170324174957_cocilova_curriculum.doc has been uploaded successfully.

Life Color Communication srl
GreyHead 25 Mar, 2017
Hi lifecolor,

and . . . Is the Files Upload action before the DB Save action?

Bob
lifecolor 27 Mar, 2017
MY ORDER "On Submit" IS:
DB Save
Check Captcha
Debugger
Upload Files
Show Thanks message
Life Color Communication srl
GreyHead 27 Mar, 2017
Hi lifecolor,

Please change this to

Check Captcha
Upload Files
DB Save
Debugger

Then the file will be uploaded before the DB Save; and you will not save the record before you check the Captcha is OK.

Bob
lifecolor 27 Mar, 2017
Perfect
Thank you so much 🤣
Life Color Communication srl
This topic is locked and no more replies can be posted.