x First time here? Check out the FAQ

Learn from 350 other Umbracians at the annual Umbraco Conference - CodeGarden '13.
More than twenty high quality sessions, open spaces, hackathons and social events you'll remember. Not to be missed!
Less than 25 tickets left - get yours now!

  • Avatar63posts85karma

    doc2form text on submit with pop up

    chris started this topic January 21, 2011 @ 07:31 , this topic was edited at: Friday, February 11, 2011 2:03 AM

    I have a simple registration form, where people can enter their name/phone to reserve a spot. Everything works, it captures the data.

    I'm using one of these pop ups called Facebox (something like the Lightbox, Greybox, but for html content). This works too, but is there a way to make doc2form work with these pop ups, particular on postback?


  • Replies

  • Avatar1326posts428karma
    HQ Comment with ID: 61775
    Casey Neehouse posted this reply January 21, 2011 @ 04:11

    I have had a client accomplish it by having a page that shows the popup on success.. simply, using the success page option, and having the code loaded there.  It isn't elegant, but does work.

    There is another option of using jQuery Forms plugin that will capture a form submit and do it via ajax requests.  The result is a returned to the js, which can be parsed and loaded into a dialog.  You may look at that option.

     


  • chris posted this reply January 22, 2011 @ 12:36

    is there a way to disable postback after submit in doc2form? i'm quite content with that


  • chris posted this reply February 10, 2011 @ 08:56

    Casey, I'm now using colorbox jquery plugin. This works well, it does not prompt the postback page.


  • Avatar1326posts428karma
    HQ Comment with ID: 64649
    Casey Neehouse posted this reply February 10, 2011 @ 09:16

    Chris,

    Would you be kind to detail your solution to better aid those whom would like to accomplish the same approach?

    Case


  • chris posted this reply February 11, 2011 @ 02:03

    Casey,

    There is nothing special, I set the RefreshToParent blank and RedirectToNode blank. The combination of those setting and this plugin seem to work. Perhaps this is just unique to the colorbox, all other seems not to work.


Please login or Sign up To post replies