So this what I have:
[[!FormIt?
&preHooks=`Formit2AjaxUpload`
&hooks=`getpo,AjaxUpload2Formit`
&ajaxuploadTarget=`OrderUploads/[[+poname]]`
...
]]
with an input:
<input type="text" class="poname" value="">
And finally my custom hook (getpo):
$modx->setPlaceholder('poname',$_GET['poname']);
return '';
Basically, I have an input for a PO name and I'd like to use it to create a folder name that the files upload to. Hence the placeholder [[+poname]] in the formit call. Granit, I could be way off. Thanks for any help.
Everything I know I learned on the internet. Saved me thousands in College tuition,