Browse button

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Mike
Ebase User
Posts: 8
Joined: Tue Mar 24, 2009 10:47 am
Location: Hampshire County Council

Browse button

#1

Postby Mike » Mon Aug 24, 2009 2:30 pm

Hi,

Is there any way to create a browse button within an Ebase form?

I know that the upload() function will allow browse functionality. However, I don't want to upload anything to the server, I just want to capture a file path and name to store in a database.

Thanks,

Mike
0 x

User avatar
Joost
Ebase User
Posts: 49
Joined: Fri Sep 14, 2007 6:14 pm
Location: The Netherlands

Re: Browse button

#2

Postby Joost » Thu Aug 27, 2009 11:22 am

I've not tried it but I guess it's possible to put a html-tag using a label-field on your page to get the browse button:

Code: Select all

<input type="file" size="40" name="yourpath"/>
And use javascript and the external interface:
http://portal.ebasetech.com/cp/doc/Pane ... action.htm

To copy the value to an Ebase form field.
0 x

Mike
Ebase User
Posts: 8
Joined: Tue Mar 24, 2009 10:47 am
Location: Hampshire County Council

#3

Postby Mike » Wed Sep 02, 2009 2:55 pm

Excellent! That worked a treat. Thanks very much!

Mike
0 x


Who is online

Users browsing this forum: No registered users and 125 guests