close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Issue setting Reply-To from dynamic value

Thread began 5/27/2010 6:17 pm by adromidon310778 | Last modified 5/28/2010 7:38 am by Ray Borduin | 857 views | 1 replies |

adromidon310778

Issue setting Reply-To from dynamic value

Hello,
I am trying to take advantage of the new features in Universal Email 4 and so far I have had no issues with the exception of trying to set the replyto address as a dynamic value from the validated email field
When I add this option to an instance of Universal Email 4 it adds this code around line 25 of the corresponding waue.php file

//Additional Headers
$WA_MailObject->ReplyTo = "<?php echo(ValidatedField("contactme","Contact_me_group_Email")) ?>";



When i upload the form and try to test it i get this message on what should be the confirmation page

Parse error: syntax error, unexpected T_STRING in /home/andy/public_html/webassist/email/waue_contactme_2.php on line 25

Upon firing up DW CS5 to track the code section down i noticed DW saying their is a syntax error.

Note this form works perfectly if i remove the reply-to info

Sign in to reply to this post

Ray BorduinWebAssist

Thank you for reporting this problem. It appears to be a bug.

to fix the problem, update that line to:

$WA_MailObject->ReplyTo = "". (ValidatedField("contactme","Contact_me_group_Email")) .  "";



I will make sure this bug is logged and fixed. Thank you for bringing it to our attention... but actually that value doesn't make sense. The "ValidatedField" should actually only be used to repopulate a form after failed validation. You should be using the form field value itself when binding in other server behaviors.... so really it should probably be:

$WA_MailObject->ReplyTo = "". (isset($_POST["Contact_me_group_Email"])?$_POST["Contact_me_group_Email"]:"") .  "";
Sign in to reply to this post
Did this help? Tips are appreciated...

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...