In chronoforms v5 you changed the path in custom code:
$forms->data_actions_config[]["upload_path"]=path
How do you do that in V6?
$forms->data_actions_config[]["upload_path"]=path
How do you do that in V6?
Hi stami,
in v6 you can use shortcodes anywhere, you can set your path inside a var and use it in the path field, for example, you can use this code in PHP action:
Best regards
in v6 you can use shortcodes anywhere, you can set your path inside a var and use it in the path field, for example, you can use this code in PHP action:
$this->set("mypath", "path goes here");Then use {var:mypath} in the path field, the PHP action should be before the upload action of course.
Best regards
This topic is locked and no more replies can be posted.