Image uploaded in submit article

greendragon 08 Aug, 2014
Hi!
I have a form in which user can upload a image file, for submitting new article. I use a Custom Code action to place all the fields form in a custom layout. I have a problem with the file uploaded. How can I access it and show in the article on Submit event?
There is a way in Chornoforms or I have only to write php/html code?
Thanks!
GreyHead 08 Aug, 2014
Answer
HI greendragon,

After the file is uploaded there is a url for it available in the $form->data array so you can use that to build an <img> tag in your article.

Bob
greendragon 03 Sep, 2014
Thanks Bob!!!
I solved using your suggestion.
This topic is locked and no more replies can be posted.