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
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@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/ ]
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@users.sourceforge.net Sender: support-bounces@drupal.org Date: Tue, 27 Nov 2012 08:27:36 To: support@drupal.org Reply-To: support@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@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/ ]
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@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@users.sourceforge.net Sender: support-bounces@drupal.org Date: Tue, 27 Nov 2012 08:27:36 To: support@drupal.org Reply-To: support@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@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/ ]
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@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@users.sourceforge.net Sender: support-bounces@drupal.org Date: Tue, 27 Nov 2012 08:27:36 To: support@drupal.org Reply-To: support@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@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/ ]
Thanks Jamie.
On Tue, Nov 27, 2012 at 9:54 AM, Jamie Holly hovercrafter@earthlink.netwrote:
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@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@users.sourceforge.net Sender: support-bounces@drupal.org Date: Tue, 27 Nov 2012 08:27:36 To: support@drupal.org Reply-To: support@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@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/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]