| Post |
|
Guest
| ultimatesc 2:45 am November 23, 2008
| |
|
|
Please replace the ??? with your data!
- URL to the FORM: http://???
- The browser used: ???
- cforms version: ???
- Your Wordpress version: ???
[desc]: _
Hi,
My forms are working just fine, but they do include an upload option (we are a print company) so I think it would be great if form submitters could see that the upload was in progress.
I have a waiting message set in the cforms settings, but nothing shows up when a form submission is made. How can I fix this. Is this an AJAX issue?
Thanks.
Thomas
|
|
|
Admin
| Oliver Munich, Germany posts 6237 9:11 am November 23, 2008
| |
|
|
This has been asked before a few times in this forum, and is a general limitation of the W3C HTML spec. Ajax upload don't work, browsers need to execute the form action & reload the page.
However, the waiting message should be shown meanwhile! Did you enable Ajax for your Upload form?
actual upload progress can only be shown when using other upload methods: flash objects, ftp etc.
|
|
|
|
|
Guest
| ultimatesc 8:27 pm November 23, 2008
| |
|
|
Hi Oliver,
Thanks for your speedy response!
I did enable Ajax for the Upload form. I'm assuming the only way to do this is to check the box at the top of the form editor that then reads "Ajax enabled". I also made sure that the path in cforms.js leads to lib_ajax.php. I have the sneaking suspicion that AJAX is not working at all for my form. For error messages the page always reloads instead of just jumping to the place of concern. How can I troubleshoot the AJAX in some way?
upload progress is not necessary (although that would be an awesome additional feature to cforms!), but it would be great if I could get the waiting message working.
Thanks,
Thomas
|
|
|
Admin
| Oliver Munich, Germany posts 6237 8:41 pm November 23, 2008
| |
|
|
What's your site?
Also, instead of a real progress meter, you could also include a animated GIF in the waiting message, so users at least get see some action…
|
|
|
|
|
Guest
| ultimatesc 9:18 pm November 23, 2008
| |
|
|
The site is http://www.ultimateshirtcompany.com
The form can be accessed by clicking on "order form" at the bottom right of the screen. Feel free to make test submissions.
Thanks for the animated gif idea. Great idea! Will definitely use it once that waiting message starts showing up :)
Thanks again for your help!
Thomas
|
|
|
Admin
| Oliver Munich, Germany posts 6237 9:46 pm November 23, 2008
| |
|
|
One thing I noticed immediately, you're missing the cforms header in your page header (HTML).
Check the FAQ re: wp_head()
|
|
|
|
|
Guest
| ultimatesc 2:03 am November 24, 2008
| |
|
|
Looks like that fixed it!
Just one last question. I'm embedding the loader gif in the "Waiting Message" field after some text.
I'm embeddig this: <img src="http://www.ultimateshirtcompany.com/blog/wp-images/ajax-loader3.gif" />
for some reason the animated gif does not show on firefox and safari on mac, but it seems to be working in IE. Wondering if I need to do anything in particular when embedding images in this way.
Thanks for your help!
Best,
Thomas
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:49 am November 24, 2008
| |
|
|
Can you try preloading the GIF via Javascript?
Or embed it somewhere on your page and simply hide the container it's in?
This seems to be a bug with FF and other browsers that don't handle HTML insertion of ani-GIFs well.
|
|
|
|
|
Guest
| ultimatesc 7:08 am February 24, 2009
| |
|
|
This is kind of strange.
I got the issue with the "One Moment Please…" message not showing up resolved a couple of months ago, but now it's back. The animated gif and the waiting message that I set up in November when I started this thread are no longer showing up.
I haven't changed my version of Wordpress or the cforms version since then. No idea what it could be.
Here's the link to the form: http://www.ultimateshirtcompany.com/blog/order.php
Any ideas?
Thanks,
Thomas
|
|
|
New Member | georgehari posts 2 11:50 am February 24, 2009
| |
|
|
Try deactivating Ajax. It worked for me.
|
|
|
Guest
| ultimatesc 6:48 pm February 24, 2009
| |
|
|
that didn't work….
I think this is only supposed to work with Ajax enabled anyways….
Thanks though :)
|
|
|
Moderator
| Paul Amsterdam, NL posts 421 9:08 pm February 24, 2009
| |
|
|
Hi ultimatesc!
Have you check the FAQs for "One moment please…" type issues? Just glanced at your cforms.js file and think that's the root of the problem!
P.
|
|
|
|
|
Guest
| ultimatesc 6:14 am February 25, 2009
| |
|
|
Ok,
So here's what I think happened. I created a form I liked on another wordpress site and then migrated it to the site I am currently using. I followed the instructions in the FAQ about the changes that need to be made to the cforms.js file, but for some reason in the header that cforms inserts, it still links to the javascript file of the old site.
So now for the life of me I can't figure out where to exchange this link in the header. I've searched all the files but can't find this link to replace.
- Thomas
|
|
|
Admin
| Oliver Munich, Germany posts 6237 7:16 am February 25, 2009
| |
|
|
Have you deactivated and reactivated the cforms plugin properly, did you see the Install / Upgrade / Move notes on the plugin home page & FAQs?
|
|
|
|