PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

A couple of js questions

  1. anointed
    Member

    I've been trying to follow the modal post and I'm close but not quite there yet.

    site:
    http://deardaddy.org/user-testimonies/

    on the right sidebar, underneath the testimonies, is a link where you can click to add your own testimony form. When I click it, I do get the popup, but it's very very small. There is also an error that pops up in the firebug. (I have zero experience with js so far, so don't understand the console errors yet, trying to learn though).

    second question:
    http://www.zurb.com/playground/ajax_upload

    That is one of the coolest ideas I have seen so far. I was able to get the code into my system ok, but really got stuck on what the variables should be when using gravity.

    On my form, I have an image uploader, but if I put image into the field it does not work.

    Has anyone done this mod before that is willing to do a 'how to' article?

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  2. You aren't going to be able to use something like ajax upload with Gravity Forms. You can't attach events such as this to the forms as all the processing is handled by Gravity Forms specifically because it knows what needs to be done with the data, the ajax upload script does not... they aren't compatible with each other.

    We have an article on how to use FancyBox to display a form in a modal window:

    http://www.gravityhelp.com/creating-a-modal-form-with-gravity-forms-and-fancybox/

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  3. On the modal window, I've taken a look but don't see anything that looks too strange (other than you're linking your modal window to the same page) You're probably going to need to look around the FancyBox support forums for an answer.

    http://groups.google.com/group/fancybox

    We provided the how-to tutorial on using FancyBox in conjunction with Gravity Forms, but can't really provide support for FancyBox specific issues.

    Posted 13 years ago on Thursday June 3, 2010 | Permalink