Forums

Form pg1 in module position and pg2 in article

alryalls 25 Apr, 2010
Hey folks,

I have a two page form which is a route planner. The first page loads within a module position (which is on the home page) and records Start and Destination values, with a submit button that posts the values to the 2nd page, which allows for via points entry, and then calculation of the route.

The problem I'm having is that the 2nd page loads in the mainbody area with unwanted modules displayed in their corresponding positions (the same as the home page).

I think the three ways of controlling the content displayed along with a form are; by assigning a menu item, either hidden or not and applying modules to it. Load the form in an article and apply the modules. Load the form in a module position (as with the first page - but I don't know how to tell CF to load the 2nd page in another module position).

So, is there a way of having the first page load in a module position and then have the 2nd page load in either an article or another module position. Or is there another way to control the content displayed on the 2nd page?

Any ideas?

Many thanks,

Al
GreyHead 08 May, 2010
Hi alryalls,

I don't think that there is a relaible way to have a standard form (single or multi-page) submit from a module or article and re-diaplay in the same module or article.

It's probably possible to do this with Ajax so that the form isn't submitted in the process.

Bob
This topic is locked and no more replies can be posted.