I use a few post boxes on a single page, each post box is a single stage in a multiple stage process. Each stage/postbox will have a form and I would like the submission to be handled by Ajax (sort of of figuring that out already) but the result OR a new form to be displayed in the original forms place (only examples I find use alert boxes as output).
The user will submit a form and the submission will result in a new form being displayed or an extension to the existing form. In some cases only text will be displayed but the output text is generated based on database values also.
Hope I’ve made sense while trying to give a bigger picture. In short, php functions need to be called to process form submission but I need Ajax to change the form or display a message or replace the form with a new form.
- The topic ‘Ajax Form Submit And Display New Form’ is closed to new replies.