Filename Provider: {var:var1}{var:var2}.{file:extension}
what's going wrong?
Reported months ago, by the way!
Filename Provider: {var:var1}{var:var2}.{file:extension}
what's going wrong?
Reported months ago, by the way!
what is the problem with this ? tell me the expected behavior and the actual behavior, and what happens when you use this:
Filename Provider: file-{var:var1}{var:var2}.{file:extension}
what do you get ?
File NameProvider simply does not accept any values from var ! {var:user.name}
this is because var is not yet set at this moment, the upload is done with fields validations before any submit action is run
if you need any vars to be set at this point then you need to run them in a "pre submit" action, and this pre submit action should be first thing in the "load" area
The variables come from the first page! For example, if I enter one in Placeholder, it is displayed correctly! FileName Provider only seems to accept values from data!
how do you set these variables on the first page ? and where is your file field ?
Page 1 - DB Read Action + Data Merge (Name: TNS)
Page 2 - PHP Action + Event -> File Upload - Filename Provider {var:TN.MYNAME}_{var:TN...}.{file:extension}
so the file field is inside page2 "load" ?