Contact form dropdownlist empty

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/21/2009 3:17:01 PM
Nux
Gravatar
Total Posts 183

Contact form dropdownlist empty

Hey,

just updated my site (to teh latests version 2.3.3.2) and I noticed the new features in the contact form module.
But I think there is a small bug that is also visible in the contact form of this site:
when you fill in 1/more email address(ses) in "Email Address(es) To Receive Submissions", the dropdownlist comes visible in the form, but it is empty.
I guess the dropdownlist must stay invisible, unless you have filled in aliasses in the next property.

Correct?

Greetings
Stef

12/21/2009 3:33:32 PM
Gravatar
Total Posts 18439

Re: Contact form dropdownlist empty

:-( yes, it seems you are correct, I will have to put out a patch soon, I missed that. I tested comma separated emails first, then implemented and tested the list aliasing, I should have then gone back and tested with coma separated but no aliases.

Thanks for reporting it, I will fix it soon.

Best,

Joe

12/21/2009 3:54:42 PM
Gravatar
Total Posts 18439

Re: Contact form dropdownlist empty

For an immediate workaround I just did this:

  1. for the email address I put myemailaddress|myemailaddress
  2. for the alias I put Business Inquiry|Site Feedback

Just a temporary fix but at least not too ugly.

Best,

Joe

12/22/2009 5:37:32 AM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Contact form dropdownlist empty

Hi Joe,

also checkout here a list of other safety checks that code should possibly do if it doesn't already

12/22/2009 6:29:16 AM
Gravatar
Total Posts 110

Re: Contact form dropdownlist empty

I noticed the same issue but the fix from Joe does work and very easy to do.

12/22/2009 6:41:38 AM
Gravatar
Total Posts 18439

Re: Contact form dropdownlist empty

I am uploading patched release files. I will let you know as soon as they are ready, then you will be able to fix it by downloading again and replace just the mojoPortal.Features.UI.dll and mojoPortal.Web.dll

Best,

Joe

12/22/2009 8:29:53 AM
Gravatar
Total Posts 18439

Re: Contact form dropdownlist empty

The new files with the fix for this issue have all been uploaded. Again the only files to replace if you downloaded version 2.3.3.2 previously are the mojoPortal.Features.UI.dll and mojoPortal.Web.dll in the /bin folder.

Best,

Joe

12/22/2009 1:31:37 PM
Gravatar
Total Posts 116
http://www.zoomicon.com http://birbilis.spaces.live.com http://www.delicious.com/birbilis http://twitter.com/Zoomicon

Re: Contact form dropdownlist empty

When there's only one entry it doesn't show To field at all. This is understandable for backwards compatibility and to protect the e-mail used for the form submission from spam, but I think you should change the code there so that if ONE e-mail is given AND ONE ALIAS is given too then show the dropdown list with that ALIAS entry (or a textfield, although a dropdown with just 1 entry shouldn't be too much aproblem for usability purists). That would work well with existing sites who didn't notice the form enhancement, since their alias field would be empty, so they wouldn't see the drop-down.

But a user who adds one alias there expects and should see that name and the To: at the start of the form instead of having it hidden

12/22/2009 1:49:59 PM
Gravatar
Total Posts 18439

Re: Contact form dropdownlist empty

The problem I was trying to solve was to support an option for different recipients, that is all. I don't think a drop down with 1 item makes much sense. I don't see a need to show a text field if there is just one either because the form title can convey the one person, recipient or purpose.  

The drop down is driven by the pipe separated email address not the aliases. If there is only 1 email address it will not show a list no matter how many aliases are entered, and it will show the email addresses in the drop down if no aliases or not enough aliases are entered. Also if people want a dropdown they can enter the same email for as many aliases as they want, but it makes sense to have at least 2 items so they should enter their email twice or once per option they want in the list to create the list.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.