Copied to clipboard
  • chris 88 karma points
    Jan 21, 2011 @ 07:31
    chris
    0

    doc2form text on submit with pop up

    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?

  • Casey Neehouse478 karma points admin
    Jan 21, 2011 @ 16:11
    Casey Neehouse
    0

    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.

     

  • chris88 karma points
    Jan 22, 2011 @ 00:36
    chris
    0

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

  • chris88 karma points
    Feb 10, 2011 @ 20:56
    chris
    0

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

  • Casey Neehouse478 karma points admin
    Feb 10, 2011 @ 21:16
    Casey Neehouse
    1

    Chris,

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

    Case

  • chris88 karma points
    Feb 11, 2011 @ 02:03
    chris
    0

    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 Sign in or register to post replies

Write your reply to:

Draft
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.