close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot edit dynamic elements on Blank/default email file

Thread began 4/20/2016 12:43 am by rikaG_510 | Last modified 4/22/2016 10:18 am by Ray Borduin | 735 views | 3 replies |

rikaG_510

Cannot edit dynamic elements on Blank/default email file

Hi, I am making a contact form with form builder.
I'd like to edit the default email format since there are unnecessary elements.
But it seems it's all hidden or written elsewhere.

In the email message, there are:
- Form Submitted
- Full Name
- Tel
- Email address
- Comments
- Hidden Field
- Submit
- Additional Notes

I cannot find any line that tells from "Full Name" to "Submit" in the Blank email file.
And it looks everything is included within:

<?php
foreach( $_POST as $pkey => $pval ){
if (!RemoveValue($pkey,$remove,$removeBegins,$removeEnds,$removeIncludes)) {
if (get_magic_quotes_gpc()) $pval = stripslashes((is_array($pval)?implode(", ",$pval):$pval));
?>
<tr valign="top">
<th style="font-size: 12px; width: 134px; text-align: right; padding: 3px 10px 3px 3px; font-weight: bold;"><?php echo(str_replace("_"," ",$pkey)); ?>:</th>
<td style="font-size: 12px; padding: 3px;"><?php echo(str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval):$pval))); ?></td>
</tr>
<?php
}
}
?>

Where can I look and edit this?
Thank you for your help.

Rika

Sign in to reply to this post

Ray BorduinWebAssist

They are automatically created from the name of the form elements on the page. You can remove that section to manually configure and design the page, or just update the form element names to change the fields displayed in the email body.

Additionally you can remove fields you don't want listed on the top of the email body page.

Sign in to reply to this post
Did this help? Tips are appreciated...

rikaG_510

Hi Ray,

Thank you, but still don't get it.

"You can remove that section to manually configure and design the page"
Where can I remove sections from? Contact form file?

At the moment the email gets below dynamic value with everything else and I don't want to have them on the email.
(See the attachment - email.png.)

- Hidden Field: blank
- Submit: Contact me

I also attached contact form file as well.

Attached Files
us_19_contactx.php
Sign in to reply to this post

Ray BorduinWebAssist

The update would be made on the email body page in the webassist/email/templates folder. Probably called Blank.php if you haven't renamed it. If you send me a copy of that I can explain how to fix it, but you might be able to figure it out by looking at the code on the top of that page yourself.

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