cool - that gets me part of the way there. 1. When I add [messages] to a page, it works, but isn't in the page source and is missing when I edit a page. 2. The nextpage event appears to happen even if the form failed to send the message due to a missing or invalid parameter (no email address, for example) 3. The message is a little misleading when a message fails to send - it still says "form submitted" in green, but then gives the error. Would be nice if errors were in red or something??
On Dec 1, 8:07 pm, "The Editor" <[EMAIL PROTECTED]> wrote: > On Mon, Dec 1, 2008 at 1:17 PM, kc5ifk <[EMAIL PROTECTED]> wrote: > > > When a contact form is submitted there isn't a message returned to the > > user stating whether the message was successfully sent or not - it > > just looks like the form refreshes. How do I specify what happens when > > the form is submitted depending on whether it was successful or not? > > To get messages on the page there has to be a [messages] markup on the > page. You just put it where you want it to show. > > To control what page a viewer sees after a form is submitted, you need > to add a line like this in the form: > > [session nextpage some.page] > > Cheers, > Dan > > P.S. If the email form fails for some reason, it will abort and stay > on the same page, with an explanation message of why it didn't submit. > Nextpage will only be effected if the form submission is successful. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
