206 Topics

Member Avatar for
Member Avatar for ndeniche

I'm building an AJAX application for my company, and in the main screen there is a login form. The login form has a submit button which calls an ajax function that checks with a php page the validation for the login credentials, and sends back a confirmation message. This message …

Member Avatar for achinaseller
0
364
Member Avatar for user1980

hi.. I have a text box with a custom validator, compare field validator. I have a problem with the error message display. my compare field validator works normally....ie; when I enter a wrong value it gives me the error message and when I correct it the error message disappears.but this …

Member Avatar for kvprajapati
0
175
Member Avatar for gymangel812

i'm having a few problem with my phone book program: 1. If the any of the buttons have empty fields, I need to display an error message. How would I do that? Some sort of try/catch statement or if/else statement? 2. I'm a bit clueless as how I would go …

Member Avatar for moutanna
0
119
Member Avatar for user1980

Hello there.. I have a custom validator for my text boxes. the code is as below.. Expand|Select|Wrap|Line Numbers [CODE] <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="text1" ErrorMessage="Please enter text1" ClientValidationFunction="ClientValidate3" ValidateEmptyText="true" ValidationGroup="Submit" onservervalidate="CustomValidator3_ServerValidate" Display="Dynamic" SetFocusOnError="false">*</asp:CustomValidator> [/CODE] [CODE] function ClientValidate3(sender, args) { var txt1 = document.getElementById("<%= text1.ClientID %>"); var txt2 = document.getElementById("<%= text2.ClientID %>"); …

Member Avatar for user1980
0
508
Member Avatar for user1980

hello, I am trying to enable validators using javascript and they get enabled as expected but when I am trying to disable them they give an error and then get disabled. I think I am missing a logic on how to disable them. My code is supposed to validate two …

0
76
Member Avatar for shep32

Hi, I am writing a code for a restaurants online order service so that products can be delivered to customers. I have completed the code but the owner has said that they have recieved bogus orders and i have decided that a validation on the order form is needed for: …

0
78
Member Avatar for shep32

Hi, I am currently helping to create a script for a restaurant's online delivery service. The restaurant has a minimum order of £10 and i want to incorporate this into the script e.g. a customer's order comes up at £8 and clicks submit, a message box displays "Minimum order is …

Member Avatar for shep32
0
98
Member Avatar for bluem1

Team - Working on a personal project to help with my sons spelling. I can't seem to find an easy solution to this so I hope someone can point me in the right direction. Textbox 1 will hold the correctly spelled word. Textbox 2 will be typed BUT I want …

Member Avatar for bluem1
0
111
Member Avatar for user1980

Hello there... can somebody guide me on this… I have a panel (say, panel1) inside another panel (say, outer-panel)….The panel1 is visible only when a checkbox is checked in the outer-panel. I have many text boxes in the panel1. I have to put a validation on all the boxes. I …

Member Avatar for user1980
0
182
Member Avatar for stefy14

i am a University student pursuing a degree in computer science, it seems as though i really suck at validating things... well I just don't really get the concept i know its conditions but i when i try one it always seems to crash my program I've been trying to …

Member Avatar for tetron
0
130
Member Avatar for pbcomput

hi... i m trying to get values of more then one select box on same page.. i am showing list of all users with select box..so per user there is one select box... i want to get the value of all select box...which is select or not select... here is …

Member Avatar for pbcomput
0
136
Member Avatar for davidjcolbran

I've made a little progress but become stuck with some PHP code. I have a small database of codes, which I need a PHP form field to check against and then direct the visitor to one of two pages depending whether what they type into that field matches a record …

Member Avatar for nav33n
0
144
Member Avatar for ArtphotoasiA

I'm really surprised that many webmasters do not understand fully THE HUGE point here, really surprised. The point IS NOT if search engines care W3C validation or if customers care W3C validation (they have probably no idea). Maybe webmasters are too much focused in the job in the profession and …

Member Avatar for MHLut
0
132
Member Avatar for diafol

YT spits out invalid xhtml for embed code, so have been trying to get to grips with validating pages with embedded videos. Came across this today. Any thoughts? Does it work with all browsers? I've got the modern ones - so can't test the oldies. [CODE]<object type="application/x-shockwave-flash" data="[B]http://www.youtube.com/v/vUzTQWn-wfE&amp;hl=en_US&amp;fs=1&amp;rel=0[/B]" width="400" height="326"> …

Member Avatar for MidiMagic
0
142
Member Avatar for TommyTran

I have an assignment that asks me to: 1. create a button 2. when that button is clicked, an inputBox will appear to ask the user how many words they will enter. 3. then display an inputBox for each word. For example, when the first inputBox appears, I enter "3" …

Member Avatar for apegram
0
93
Member Avatar for Henzard

I have a php user front-end and would like to validate a some fields to stop duplicates the database is oracle and the form is quite large i was wondering if it is possible with Javascript or ajax to run a select statement using php code check the values and …

Member Avatar for phpbeginners
0
147
Member Avatar for weasel7711

This is my first time really using HTML, Javascript and PHP. This is part of a prototype for a project for my SW Eng. course. The problem I am having is that the form is not going through the validation. The user is supposed to be able to search by …

Member Avatar for Airshow
0
163
Member Avatar for cambraydesign

Hi, I need help with this. I basically want users to enter their name email address with validation and also have a tick box for them to say yes or no to receiving future updates. This information will be sent to an email address not a database on clicking the …

Member Avatar for almostbob
0
198
Member Avatar for Dum_

Hi, i need to block input if first char 2 and second char must not be more 5. And first char input must be 1 or 2. Specifically I need the input of only 1-25 and nothing else. I tried and only allow entry of numbers, but fail to limit …

Member Avatar for Geekitygeek
0
233
Member Avatar for kool.net

hi, i want to write code on validation of text box , combo box for make them not null fields, And other for mae a text box only accept integer , one only accept string not integer value. so pls. tell me where shud i write dis code & give …

Member Avatar for avirag
0
139
Member Avatar for MktgRob

I recently came across a service that allows people to get a badge that can be included as part of their social media identity that validates that they are online in communities as a private citizen, a business professional, a representative of a corporation or as part of a not-for-profit …

Member Avatar for InsightsDigital
0
96
Member Avatar for jammercb

When the program calls the getValidString it won't display "Judge Another? (y/n)" It seems like everything should work I just can't figure it out //see if the user would like to continue choice = getValidString(sc,"Judge Another? (y/n): ", "y" , "n" ); private static String getValidString(Scanner sc, String prompt, String …

Member Avatar for El Duderino
0
122
Member Avatar for cVz

Hi I use Visual 08 ASP.NET C# and JavaScript I would like to do the following validation on a text box the length MUST be 12 characters long in the following format LLLLLLNNNNNN Where L = Letters N = Numbers if the users input does not match the required format …

Member Avatar for guru_sarkar
0
1K
Member Avatar for Anupama G

I have a textbox which is present inside a gridview.The text box should take only date in mm\dd\yyyy format as its input.Can I do this without using any validation controls???

Member Avatar for Anupama G
0
111
Member Avatar for helpme123456789

This is what I have so far. This isn't working and this isn't even close to working. I'm not that experienced at C++ so I was hoping that someone would help me please. The assignment is basically to write a code to validate an email address to see what characters …

Member Avatar for VernonDozier
0
212
Member Avatar for MitkOK

Here are two simple functions to validate name and e-mail . int [COLOR="#008000"]valName[/COLOR]( string $arg1 ) - this function returns 1 if name is correct, 0 if incorrect int [COLOR="Green"]valMail[/COLOR]( string $arg1 ) - this function returns 1 if name is correct, 0 if incorrect

0
181

The End.