HTML5 File Upload Support Product Page

Answered

Conditional when upload more than 1 file

Asked 24 Apr 2017 01:20:46
1
has this question
24 Apr 2017 01:20:46 Firdaus Rohman posted:
How to setup conditional when upload is more than 1 file? For example I want to zip or put in a folder multiple upload files and regular upload action when there's only 1 file.

Replies

Replied 24 Apr 2017 07:27:04
24 Apr 2017 07:27:04 Teodor Kuduschiev replied:
Hello Firdaus,
You can easily do that by adding a condition, just after the repeater step (the one that you are using with multiple upload field)
The condition value would be:
{{repeatName.length == 1}}
- Then -> step for single file
- Else -> step for multiple files
Replied 24 Apr 2017 08:58:19
24 Apr 2017 08:58:19 Firdaus Rohman replied:
thank you

Reply to this topic