Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Intrigued  
#1 Posted : Friday, September 6, 2013 12:22:48 AM(UTC)
Intrigued

Rank: Newbie

Groups: Member
Joined: 7/24/2013(UTC)
Posts: 1

Thanks: 1 times
Hi, I am working on an application where only one image file is to be uploaded and I am trying to hide the Add Files button after an image is selected.

I found the method setAddFilesButtonText($value) but I can't see any way to actually hide the button.

Is this possible? Or will I need to use Javascript? If so, can anyone point me in the right direction?

Thanks,
Kevin
Andrew  
#2 Posted : Friday, September 6, 2013 2:42:58 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
Well, it is possible in ActiveX/Java version, but it does not work in HTML5/Flash. But you can limit the number of files allowed to select using maxFileCount as described here (although the button won't be removed):

http://www.aurigma.com/d...and-file-filters-iuf.htm

We will consider adding this feature to future releases though.
thanks 1 user thanked Andrew for this useful post.
Intrigued on 9/6/2013(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.