Buy Now
Sign in

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

lifecolor , March 24 at 10:45
l
lifecolor

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

GreyHead

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

l
lifecolor

				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.

GreyHead

Hi lifecolor,

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

Bob

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

l
lifecolor

MY ORDER "On Submit" IS:
DB Save
Check Captcha
Debugger
Upload Files
Show Thanks message

GreyHead

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

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much

l
lifecolor

Perfect
Thank you so much :lol: