Page 1 of 1

Browsing for & uploading file to web page

Posted: Fri Oct 23, 2009 9:05 pm
by StuG
I am developing a web based application for which I need the user to be able to browse for an input file and upload it to the web page.
Can anyone point me in the right direction?

Thanks,

Stu.

Re: Browsing for & uploading file to web page

Posted: Sat Oct 24, 2009 1:41 pm
by BeeJay
I'll presume you're referring to a "JADE Forms" web enabled application. If this presumption is correct, then you should refer to the TextBox::webInputType property in the online help, and in particular the behaviour when TextBox::webInputType is set to Web_InputType_File.

As per the note in the online help, you have to process the file in the event that resulted in the file upload.

Cheers,
BeeJay.

Re: Browsing for & uploading file to web page

Posted: Thu Oct 29, 2009 10:04 pm
by StuG
Thanks BeeJay, I was busy on other things earlier in the week but have now successfully uploaded and processed my file!
Woohoo! :D

Re: Browsing for & uploading file to web page

Posted: Thu Apr 14, 2011 10:21 am
by cnwgem
I have a text box with webInputType = File, I browse/select a file then click an upload button - great the file uploads.
However the file will actually upload irrespective of what button I click, for example if I select a file then click on a navigation button (to exit the screen) - file upload occurs & I don't want it to. Is there a way to control when the upload occurs i.e. only when I click a specific button?