close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Code needed to display information

Thread began 11/18/2010 7:27 pm by Roxana | Last modified 11/19/2010 12:08 pm by Jason Byrnes | 2015 views | 7 replies |

Roxana

Code needed to display information

I used UE to create a file for email. After the email is submitted, I set the goto page to the email template. I would like the email template page to be the instant feedback of how the email is going to look like. In the email all info from the form shows, but on the template page nothing shows.

As an example, this is the code I am using to show the message in the email:
<?php echo((isset($_POST["fieldset_group_Nachricht"]))?$_POST["fieldset_group_Nachricht"]:"") ?>

Could someone help me modify this code, so that the message also shows on the goto template page? Or maybe add code?

Sign in to reply to this post

Jason ByrnesWebAssist

There is no post being made to the goto page, so the form information would need to be stored in a session:

php:
<?php

$_SESSION
['fieldset_group_Nachricht'] = isset($_POST["fieldset_group_Nachricht"]))?$_POST["fieldset_group_Nachricht"]:"";
?>




you could then echo the session on the goto page

php:
<?php echo((isset($_SESSION["fieldset_group_Nachricht"]))?$_SESSION["fieldset_group_Nachricht"]:""?>
Sign in to reply to this post

Roxana

Thank you for the code.

I wasn't successful implementing the code. I tried in pretty much every section of the page. No matter where I put it, it makes the browser go blank ... and that is despite the error php at the top of the page.

Sign in to reply to this post

Jason ByrnesWebAssist

Sorry, slight synatax error in the session code:

php:
<?php

$_SESSION
['fieldset_group_Nachricht'] = (isset($_POST["fieldset_group_Nachricht"]))?$_POST["fieldset_group_Nachricht"]:"";
?>
Sign in to reply to this post

Roxana

form page looks great. Could there be a syntax error in the code goto page? The goto page is the email page.

Sign in to reply to this post

Jason ByrnesWebAssist

could be, is it the go to page that is blank?

can you send a copy of that page?

Sign in to reply to this post

Roxana

OK, this is on me :) It looks great now. The formatting has some issues, but that will probably go away, once it is on the remote server. Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...