x First time here? Check out the FAQ
Join us a the Umbraco event of the year - get your Codegarden 14 early bird ticket today
  • Avatar65posts87karma

    doc2form text on submit with pop up

    chris started this topic January 21, 2011 @ 07:31

    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?


  • Avatar1331posts458karma
    adminComment 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.

     


  • Avatar65posts87karma
    Comment with ID: 61826
    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


  • Avatar65posts87karma
    Comment with ID: 64648
    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.


  • Avatar1331posts458karma
    adminComment 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


  • Avatar65posts87karma
    Comment with ID: 64681
    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