I've read and tried the tutorial here http://www.chronoengine.com/faqs/60-cfv4/cfv4-working-with-the-database/2666-how-can-i-edit-the-record-for-an-image.html
to display and edit uploaded image in the default upload folder but haven't succeeded yet, mainly because I don't know PHP and Javascript.
In particular, I'm confused with
Do i have to change the terms "name" and "image" in the above codes with my CF form name and/or the field name?
I also see that it's for CFv4 and the upload path is different with CFv5.
I already have an file upload field called "providerproof" (without the quotes) and i think it's the one referred to as "image" in the above code. Is that correct?
What else do I have to change in the code please?
Thanks in advance.
to display and edit uploaded image in the default upload folder but haven't succeeded yet, mainly because I don't know PHP and Javascript.
In particular, I'm confused with
$form->data['image']) && $form->data['image'] )and
components/com_chronoforms/uploads/{$form->form_details->name}/{$form->data['image']
Do i have to change the terms "name" and "image" in the above codes with my CF form name and/or the field name?
I also see that it's for CFv4 and the upload path is different with CFv5.
I already have an file upload field called "providerproof" (without the quotes) and i think it's the one referred to as "image" in the above code. Is that correct?
What else do I have to change in the code please?
Thanks in advance.