close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

file upload problem in DataAssist / UE4

Thread began 10/04/2011 6:03 am by this_is_me | Last modified 10/05/2011 9:04 am by Jason Byrnes | 1851 views | 3 replies |

this_is_me

file upload problem in DataAssist / UE4

If I add UE4 / file upload functionality in an insert page following this (excellent) documentation: dfp_da_insert_update_ht.pdf

it still does not work sometimes, due to a missing attribute in the <form> tag. I have to add enctype="multipart/form-data" manually, so that its something like:
<form action="news_Insert.php" method="post" enctype="multipart/form-data" name="WADAInsertForm" id="WADAInsertForm">

Does UE4 not check this attribute? I use DataAssist 2.0.8 (maybe THE BEST WA Extension)

any idea?

Sign in to reply to this post

Jason ByrnesWebAssist

if you manually add a file attribute to the form, the forms encoding type will need to be set manaully.


if you use the Dreamweaver Insert -> Form -> File Field method to add the file field to your form, the encoding type will be set automatically

Sign in to reply to this post

this_is_me

thanks, but ...

Hi, thanks for the reply, but I did not do anything "manually".

The files were generated by DataAssist's Wizard. I had to add the "file upload" functionality later, because the wizard does not suggest such an option.

I added them to the insert and update pages according to WA's documentation (see my last post). As an example for the update page it showed:

<form action="news_Update.php?id=<?php echo(rawurlencode($row_WADAaktuell['id'])); ?>" method="post" name="WADAUpdateForm" id="WADAUpdateForm">

where it should have been:

<form action="news_Update.php?id=<?php echo(rawurlencode($row_WADAaktuell['id'])); ?>" method="post" enctype="multipart/form-data" name="WADAUpdateForm" id="WADAUpdateForm">

I hope, I could express better what the problem is.

Sign in to reply to this post

Jason ByrnesWebAssist

the data assist wizard does not have an option to add File Fields to the page.

how did you add the file fields to the page?

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...