Set uploaded file Path for Jform

49 views
Skip to first unread message

Haresh Ramchandani

unread,
Aug 8, 2012, 8:27:04 AM8/8/12
to joomla-de...@googlegroups.com
hi all

   i have create one form with one field as file in XML like this way
  
  
<field name="link" type="file"  label="Select file" description="Select Source"   class="inputbox" />

like : if i am uploding "example.jpg" right now it give me success full message that record is saved but where is file uploaded i can't get path
        so i want set my path like below
        "administrator\components\com_virtuemart\com_xxx\image" .
        so how can i do this?

Regads
Haresh

b2z

unread,
Aug 8, 2012, 11:47:14 AM8/8/12
to joomla-de...@googlegroups.com
Hi.

As far as I know there is no default path for it. You should manually save the file - probably get the data from the form and then save it using your model.

Reply all
Reply to author
Forward
0 new messages