How to create a File Upload with Progressbar form:
Demo: http://www.fanaticsounds.com/upload-now
Step 1.
Create a processbar first, go to: http://www.ajaxload.info/ or http://preloaders.net/
Save the image somewhere, normally images/stories/.
Step 2.
Create a file upload form
Step 3.
Edit your form in Form Management
A) Go to: Tab - General
B) Form tag attachment add the code:
C) Go to: Tab - Form Code
D) Form HTML add the code:
E) Form JavaScript add the code:
Step 4.
Save, publish and test it.
Good Luck!
Rogier
Demo: http://www.fanaticsounds.com/upload-now
Step 1.
Create a processbar first, go to: http://www.ajaxload.info/ or http://preloaders.net/
Save the image somewhere, normally images/stories/.
Step 2.
Create a file upload form
Step 3.
Edit your form in Form Management
A) Go to: Tab - General
B) Form tag attachment add the code:
onsubmit="display_loading();"
C) Go to: Tab - Form Code
D) Form HTML add the code:
<div id="loading" style="display: none">We are processing your upload, please wait!<img src="images/stories/ajax-loader.gif" alt="" /></div>
E) Form JavaScript add the code:
function display_loading() { document.getElementById('loading').style.display = 'block'; }
Step 4.
Save, publish and test it.
Good Luck!
Rogier