Drop on an element in a form

Drop on an element in a form

Postby parkerjnc » Thu Jul 09, 2015 8:24 am

I'm try to allow my users to drag and drop a file onto a textarea element. Once dropped the file will be read and some data parsed from it to fill in some of the fields of the form.

I have this working fine outside of nuBuilder. I can drop a file on the textarea and the XML in the file is parsed and data is extracted and populated into some text boxes on the test page. There are no special attributes set on the textarea element to allow this drop event to be handled.

When I try to implement this in nuBuilder by adding an HTML object to my form I find that the textarea does not allow drop now. In fact none of the input elements allow drop on the form. Is there something in nuBuilder that would prevent this?
parkerjnc
 
Posts: 15
Joined: Wed Sep 05, 2012 12:45 pm

Return to Custom Code