You'll need to use AJAX to show the result of the form submission in the
dialog box.

I'm not familiar with Dojo but generally the implementation goes something
like this:

   1. Attach an event handler to the form's "submit" event to trigger a
   callback function when the submit event is fired.
   2. Within that callback, gather the form's value and submit it via AJAX
   to your webserver.
   3. While still in your callback, return false or use whatever Dojo
   provides to prevent the form from actually submitting.
   4. Set up a callback for AJAX success that updates the dialog with what
   the server responded with.
   5. Don't forget to set up callbacks for error responses.

I hope this helps.

--
*Hector Virgen*
Sr. Web Developer
http://www.virgentech.com

Reply via email to