re-open
Public

Hi all,

I am a rookie for both ForUI and Javascript. As title, I separated this feature for 2 parts:

  • Create a “brows…” button which implement file input feature:

   About this, my method is to embed javascript source code inside my own button behavior. It seems work… but I’d like to figure out whether it’s exist a method which unnecessary to embed javascript source code.

  • Create a “Submit” button which can submit my input file and activate progress bar.

   About this part, I know how to complete it if not use ForUI.(through HTML!) But I don’t know how to complet it through ForUI. I have been test if pull a “iFram” to link my own page can success. But if I’d like to use any button style which recident in ForUI then I have no strategy.

 

Are there any can give me some hint or suggestion? Thanks a lot!

 

23 answers

Staff March 24, 2016

If you just want to mockup the UI of file uploading, this could be done by using the TextEditBox and Button elements in ForeUI. But if you want to make a really working file uploading feature, this will need to embed the html code (using Html element) and maybe some Javascript (using Script element), since there is no file chooser element in ForeUI yet.

ForeUI’s progress bar element could be used for your second request. You can hide the progress bar by default and show it when the submit button is clicked. If you want the progress bar to reflect the actual progress, you will need to query the status in the backend by using the “Get JSON Object” or “Get Remote Content” action, and update the progress bar with its “Set Progress Value” action.

#1

I really loved it here but are there any recent updates? Thanks  https://spokanehousepainters.net

#2

Awesome! Learned alot thanks so much keep posting more.  https://breastaugmentationlittlerockar.com

#3

thank you for this! really appreciate you doing this  master bathroom remodel

#4

great site keep posting more! corpus christi custom cabinets

 

#5

thank you for this! really appreciate you doing this Tilly

#6

Awesome! Learned alot thanks so much keep posting more.  abilene fence company

#7

Well this is great site! Would definitely recommend this to my friends. Love the read  bigger boobs

#8

thank you for this! really appreciate you doing this  bookkeeping services seattle

#9

thank you for this! really appreciate you doing this  deck contractors wichita ks

#10

I wanna know more about this because this is really informative!

https://homeremodelingtylertx.com/countertops

#12

I was looking for this info and finally found it. Thank you so much guys. Keep sharing. Read more at  – te apuesto

#13

Great work. Thanks for sharing this important information. 

Drywall Hanging

#14

If you want to add a working file uploading feature to ForeUI, you will need to embed the code in the HTML and Javascript. There is no file chooser element in ForeUI yet, but this could be done by using the TextEditBox and Button elements. Hope this helps. This is what I did when doing my kitchen remodeling Orlando site.

#15

This post is very simple to read and appreciate without leaving any details out. Great work! ole777 app

#16

This content is simply exciting and creative. I have been deciding on an institutional move and this has helped me with one aspect.

Chicago Waterproofing Services

#17

Helpful and informative forum. It services west palm beach

Tree services

#18

I see this topic has been raised twice before, and has been closed (in 2012 and 2013) but I don’t see a resolution.  How can I make specific menu items appear disabled?  Textured Ceiling Installation

#19

If you create your own plot on V4.0, you wouldn’t meet the same problem, as long as you write the expression correctly.

 

roofing undersides

#20

With our mechanics, your big rig is going to keep its cool so you can deliver the goods. And speaking of keeping cool… | Radiator Repair Service

#21

 If you’re looking for a fun and engaging skill game, go no further than drift hunters.

#22

i actually learned a lot from the comment section! tile installation miami

#23

Please login or Register to Submit Answer