Here is what I have:
- VIEWS: form with upload field named "bp"
- ACTIONS: php code generating file name (which works)
- ACTIONS: upload action with custom upload path (which works)
- ACTIONS: upload action File Name Provider with "{var:fn1}.{var:bp.file.extension}"
I believe I found my issue. The instructions say to replace FN. I assumed that FN stood for field name, which is what is located in the VIEWS section of the form. However, what is actually meant is that you replace FN with the name of the UPLOAD ACTION in the ACTIONS view, which is the same action that you are typing this in to. Once I made that change all worked as planned.
I suggest you clarify the wording on this? Perhaps instead of "FN" you might want to use "THISACTIONNAME" or something?
I suggest you clarify the wording on this? Perhaps instead of "FN" you might want to use "THISACTIONNAME" or something?
FN in this case means Function Name. But yes, I agree.
This topic is locked and no more replies can be posted.