Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Nov 27, 2009 @ 17:35
    Warren Buckley
    0

    Possible to do AJAX post on Submit?

    Hiya Guys,
    OK another question based around a comment form for a blog.

    Is it possible to do a AJAX submit (not sure thats what you call it)

    Im after achieveing the following:

    1. User fills out form
    2. Presses submit
    3. Data sent off/saved& workflow processed etc...
    4. Instead of page reload I would like to update the comment list XHTML section with the users comment and display their gravatar
    5. With a possible twitter.com slideDown message bar that sticks to the top of the page to say something like "your comment has been added"

    Am I being dumb and this can be done easily?

    Thanks,
    Warren

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Nov 27, 2009 @ 18:18
    Tim Geyssens
    0

    Hey Warren,

    For a future release we are looking into providing a base style url where you can submit a form to. Thus making it possible to do custom ajax stuff on submission of the form. But currently a form submit will always reload the page.

  • Warren Buckley 2089 posts 4578 karma points MVP ∞ admin hq c-trib
    Nov 27, 2009 @ 18:20
    Warren Buckley
    0

    OK I will look forward to this update/release then :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies