Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackDismiss Email validationDismiss Email validation
Previous
 
Next
New Post
12/31/2010 10:22 AM
 
Hi,

I wish to use the Feedback module without the Email validation. I understand that I cam do many changes on the .ascx file. and I already did (I made other changes as well).

anyway, I tried to add the phrase enabled="false"  to the asp:requiredfieldvalidator id="valEmail1" and to the asp:regularexpressionvalidator id="valEmail2" tags.
the result is that the website does not check the Email format but the validation of the Email is still exist.

When I tried to delete these tags, I got an error in my website.

What else can I do?

 
New Post
12/31/2010 4:03 PM
 
There is a much easier and better way to disable the email validation. In the Feedback module Settings, clear the value of the "Email Validation" field. When this field is left empty, the regular expression validator is disabled. If you want to still validate the email but to different regional standards you could also define and enter your own custom regular expression in this field.

Also although I would think that one would want to make the email field a required one in most cases, it is also possible in the module settings to set this field to either "Optional" or "Hidden". If the field is hidden and the user is logged in, his/her email address will be logged and included in the email which the module sends to the specified users or roles.

Although it is often possible to make some minor changes in the .ascx file of a DotNetNuke module control, one cannot remove a tag with an id and runat="server" attributes. To do so without modifying code which references that particular tag or ASP.Net control will cause an error.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/31/2010 5:19 PM
 
I am not sure that I understand your suggestion, I am a newbie with DNN and with website building and designing,

I opened the file: Settings.ascx.resx and cleared all the values that contained "Email validataion"
Next, I tried to delete the whole line.
I also opened the file: Settings.ascx.resx and deleted the whole table of the Email.

Amazingly, I didn't see any influence of my brutal actions on the website.
but when I tried to clear some attributes of the module.ascx file, the error massage appeared immediately.

can you give me detailed instructions of what should I do?

 
 
New Post
12/31/2010 6:31 PM
 
You do not need to mofify any of the module's files to disable email validatioin. When logged into the site as admin or host, navigate to the page containing an instance of the Feedback module, hover over the action menu icon to the left of the module title, and select "Settings" from the context menu that will be displayed. In the "Moderation and Feedback Management" section of the Settings page, you will see a caption "Email Validation" followed by a regular expression used to validate email addresses. To disable email validation, you may clear the contents of the validation expression. An empty validation expression will disable email validation.

There is also a section on the Settings page where you can set any of the feedback contact fields to "Required", "Hidden" or "Optional". If the Email field is set to "Optional", the user may but is not required to fill in the field on the Feedback form. In otherwords, the email field's required field validator is disabled.

Since you have deleted some of the module's localization information (resx files) and modified the module's controls, I would suggest that you first uninstall the module (from Host --> Extensions), reinstall the module, add a test instance of the module back on your page, then try these suggestions.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
1/1/2011 3:16 AM
 
Thank you for your answers, but I have the filling that we have two different versions of the feedback module.

1. In the Form and field Settings section, I don't see that I can set the Email field as optional or hide, I can do this for the Name, Phone, Subject and other fields but not for the Email field.

2. In the Form and field Settings section, I tried to clear the TextBox that is next to the Email Validation field. When I do that an error massage: "Email Regex is required" appears.

3. In the "Moderation and Feedback Management" there is no field of Email Validation. There is a section named "print template" with a multiple line
text box, but I didn't see in the text box any reference to email validation there.


About my changes: I keep the original .ascx and css files backup in my computer, and I use them from time to time, but the changes I made does not suppose to influence this problem, most of the changes concerned in changing language changing of the module, and rearranging the elements on the screen.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsFeedbackFeedbackDismiss Email validationDismiss Email validation


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out