3 questions:
1. Is it possible to set maximum number of allowed files to upload for a single form. (ie. I dont want the user to be able to send more then 3 files)
2. I wanted to give uploaded files a custom name with would use some of the data entered in the form (surname and name). However I couldnt get it to work with this:
{$form->data['nazwisko']} {$form->data['imie']}.$file_name
3. How can I get the id number of the form so I can put in dynamic mail. (I think what I want is the id number from the DB table for the particular form).
1. Is it possible to set maximum number of allowed files to upload for a single form. (ie. I dont want the user to be able to send more then 3 files)
2. I wanted to give uploaded files a custom name with would use some of the data entered in the form (surname and name). However I couldnt get it to work with this:
{$form->data['nazwisko']} {$form->data['imie']}.$file_name
3. How can I get the id number of the form so I can put in dynamic mail. (I think what I want is the id number from the DB table for the particular form).
Hi taro8,
1. Add three File upload elements.
2. The only way to do this at the moment is to rename the file after the ChronoForms File Upload action has run. I think that has been answered here before but I can't see the post right now.
3. ChronoForms adds it to the $form->data[''] array, if you add a Debugger action to your form temporarily you can see how it is saved there.
Bob
1. Add three File upload elements.
2. The only way to do this at the moment is to rename the file after the ChronoForms File Upload action has run. I think that has been answered here before but I can't see the post right now.
3. ChronoForms adds it to the $form->data[''] array, if you add a Debugger action to your form temporarily you can see how it is saved there.
Bob
This topic is locked and no more replies can be posted.