skeeterz71 - 6:45 am on Dec 25, 2012 (gmt 0) [edited by: coopster at 6:55 pm (utc) on Jan 4, 2013]
I have this perl script to process a form. When completing the form, the next step is a preview page before submitting.
The issue is the user gets a drop down list to select the appropriate email to send to. I do not want this drop down list. I have a single email to send to and the script says it is supposed to be hidden. While the actual address does not display, the name does. But the user is presented with another option I can't get rid of:
On the preview page on the drop down list options:
1 administrator ( I do not want this one at all. it sends to firstname.lastname@example.org) I did not put that email address in the script and I cannot find where to get rid of it.
2 Tattoo Artist (this is the only email email@example.com that I want.) I don't want the user to have to select it.
The area of the code in the pl is this and I can't see what is wrong: Any suggestions? Thanks
# List of email address to which mail can be sent.
# Mail cannot be sent to any email address which is not on this list.
# If a single address is listed, it will be a hidden value on the
# form, otherwise, the user will be presented with a pulldown menu
# of aliases to which email can be sent.
# The addresses listed here are never visible via served web pages.
# Both the names and the addresses here can be (but don't have to be)
# translated. You might want to translate names for functional duties
# such as 'webmaster' or 'customer support'. You might want to put in
# translations for the email addresses when different people or teams
# would want to recieve the email in a different language.
$Aliases = [
#### The following aliases are commented out examples, remove the leading # sign to use them
## A simple example of mail sent to John Smith
## Here both the name and the email are translated.
## Translations can be edited in the translations section.
## Just the name is translated
## A mailing list with multiple addresses separated by commas
[edit reason] updated to example.com [/edit]
[edited by: coopster at 6:55 pm (utc) on Jan 4, 2013]