Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi friends,

i am published one website in that join us form when i am click on submit button data was submitted with out validation ..so please tel me what i am have to do..?
plese tel me....
Posted
Comments
F-ES Sitecore 29-Jan-16 3:46am    
You have to fix your code. If you ask a proper question and give actual details such as your mark-up and relevant code then someone might be able to give you help that is more specific.
dan!sh 29-Jan-16 3:49am    
Because validation controls don't like you.

I mean how can we "correctly guess" what's going on at your end?
deepankarbhatnagar 29-Jan-16 4:57am    
Show your code first..
Anisuzzaman Sumon 31-Jan-16 5:15am    
Show up your code

1 solution

Hello,

If you proper apply validation controls in your page.aspx e.g.

ASP.NET
<asp:requiredfieldvalidator runat="server" id="rfv1" controltovalidate="txtName" errormessage="Required" forecolor="Red" xmlns:asp="#unknown" />


You just need to change your web.congig file and just add below code inside configuration tag.

XML
<appSettings>
      <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
    </appSettings>


That's all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900