close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

' in Subject Line

Thread begun 7/28/2025 8:22 am by BillHobbs | Last modified 8/08/2025 8:32 am by BillHobbs | 23 views | 2 replies |

BillHobbs

' in Subject Line

I have an upload form that sends an email to the uploader when their files are uploaded. I give the client the opportunity to name the group of files. That name is used by the email form to sent the client an email where the subject line is named Project: (Client's Data). My problem is that when the client enters an apostrophe it gets changed to ' instead of an apostrophe. Example: if the client entered "My Project's Files" then the email will have in the subject line "Project: My Project's Files". Any idea how I can fix this?

Sign in to reply to this post

Mags

Hi Bill, I had a similar issue a couple of weeks ago with a recordset value being pulled into a hidden field on a form. What you're seeing is the HTML entity encoding for an apostrophe. In my case, I was able to make it work properly by decoding the HTML entity before output, like this:

<?php echo html_entity_decode($rsUserInfo->getColumnVal("display_name")); ?>



Hope you can adjust this to suit your requirements but if you need a hand, feel free to post the HTML code for your form and I'll take a look.

Sign in to reply to this post

BillHobbs

Thanks, I'll try that.

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