[support] Confirmation page

Jamie Holly hovercrafter at earthlink.net
Tue Nov 27 17:54:03 UTC 2012


Another route:

Use the multi-step form example from examples.

On submit of the main form, you display a confirmation form, which 
outputs the final data and another button to confirm and submit or go back.

Once that is submitted, just do the simple drupal_set_message to give 
final confirmation.


Jamie Holly
http://www.intoxination.net
http://www.hollyit.net

On 11/27/2012 11:43 AM, Earnie Boyd wrote:
> In the submit function do a drupal_goto() to a callback menu item.
> The menu item callback will render another form.  You might be
> interested in http://drupal.org/project/logintoboggan which does this
> for you.
>
> Earnie
>
> On Tue, Nov 27, 2012 at 10:33 AM, Tony MAC <tony at tony-mac.com> wrote:
> > Exactly. Any example in the examples module only uses set-message. There is no example which builds a page without the. Previously built form appearing. We want, in the submit function, to call something which basically builds a node where we display our message like " Nice to have you on board. For help call" etc
> > Thanks
> > Tony
> > tony mac is building web sites.
> >
> > -----Original Message-----
> > From: Earnie Boyd <earnie at users.sourceforge.net>
> > Sender: support-bounces at drupal.org
> > Date: Tue, 27 Nov 2012 08:27:36
> > To: <support at drupal.org>
> > Reply-To: support at drupal.org
> > Subject: Re: [support] Confirmation page
> >
> > Use Drupal core modules as an example or use the
> > drupal.org/project/examples module.  There are easy M&P's for this
> > sort of thing but it depends on what you need as to how easy it is.
> >
> > Earnie
> >
> > On Tue, Nov 27, 2012 at 12:23 AM, Anthony <tony at tony-mac.com> wrote:
> >> We (http://drupalistasgroup.com) an online study group are trying to learn
> >> the form api. We have been able to construct a form and enter data, send an
> >> email with the form contents, and create and fill a dab table with the form
> >> data. Now we are looking for a way of constructing a confirmation page,
> >> which will basically confirm the form data entry and display a message to
> >> the form filler outer/user.
> >> We can't do it with set_message I don't think. What is the Drupal way to do
> >> this?
> >> Thanks
> >>
> >> --
> >>
> >> Anthony Stefan Maciejowski
> >>
> >>
> >>
> >>
> >> --
> >> [ Drupal support list | http://lists.drupal.org/ ]
> >
> >
> >
> > --
> > Earnie
> > -- https://sites.google.com/site/earnieboyd
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
>
>



More information about the support mailing list