206 Topics

Member Avatar for
Member Avatar for VRamone

Hi,i´m having a terrible time to discover how can i create masks to some field. Like for example,i would like that when someone fills a phone field,would appear (00)xxxx-xxxx, and such. I already tried to make a javascript function,but it seems that it doesnt work with EXT,because the field is …

0
140
Member Avatar for initialfresh

Hey guys, soo i'm new to PHP & I'm doing a course in school. I really really really need help. I have to get three input's;start temperature, stop temperature, & how much the users wants to increment it. then validate it for these... that the user entered numbers in each …

Member Avatar for diafol
0
717
Member Avatar for jasleen12345

pls help me tell whats wrong here is the code of my files i am a total newbie......pls t.jsp [CODE] <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> <script type="text/javascript" language="javascript" src="ah.js"></script> </head> <body> <table> <tr> <td width="36%">Userid j</td> <td width="33%"> <form name="f1" …

Member Avatar for syrellNardo
0
371
Member Avatar for arihantphp

In this code to upload multiple images to a different folder each time, it creates a new folder and moves files to it, but the validation part is not working ! if i remove the validation part the files are uploaded correctly!! I have mentioned using comments that in which …

Member Avatar for arihantphp
0
440
Member Avatar for martin11ph

Hi good day. I am currently using Spry Textfield Validation on my forms. Whenever there is an error, the error message does appear and the field goes red. However, the entire form is shifted to the left a couple of pixels. If the user corrects the value in the field, …

Member Avatar for martin11ph
0
219
Member Avatar for davy_yg

Firefox HTML Validator [CODE] Firefox HTML Validator: front-page.php Result: 75 errors / 23 warnings Info: W3c Online Validation line 43 column 20 - Error: document type does not allow element "div" here; assuming missing "body" start-tag line 56 column 15 - Error: ID "body" already defined line 47 column 14 …

Member Avatar for davy_yg
0
397
Member Avatar for jakubee

Hello everyone, This is my first post in here :) Need a help with v. simple exercise. I need to ask user to input 10 objects of type Product (String name, Double price). I manage to done this. What i need to do now is to validate this inputs! I …

Member Avatar for DavidKroukamp
0
5K
Member Avatar for rosiedoon

Hello all. I am building a webform and need some validation on radiobuttonlists but I am really stuck and struggling. I need to use a customvalidator with some javascript. I've been working on this for some time and can't get it to work. Help! The logic goes like this: * …

0
88
Member Avatar for jbutardo

Hi, I have this program that would upload files from the client to the server, Now I want to validate the filesize before uploading it into the server.. How can I create this kind of validation? Thanks.

Member Avatar for jbutardo
0
554
Member Avatar for jbutardo

Hi, My title may be wrong but I would like to explain this process that I need here, Here is my Process, I already have imported excel file and inserted it in the datatable, and then I also validated it's format before inserting it in the database. Now Here is …

Member Avatar for adam_k
0
534
Member Avatar for jbutardo

Hi, I just want to know how can vb.net validate the format of a certain string for example, i have a string with 2011/13/02, and I want to check if it's format is in yyyy-dd-MM format,. how can this be done? Thanks

Member Avatar for Reverend Jim
0
2K
Member Avatar for Kamboodle

Basically I have a password reset field and in order for the password reset to be processed the user needs to enter their first name, last name, D.O.B and email address. The first name, last name and email address are required fields, the rest are just additional security measures. My …

Member Avatar for drjohn
0
234
Member Avatar for mastermind2

I am working for a sms portal where user will submit an sms template for admin will approve that template. user will submit like [CODE]my name is # i leave in #[/CODE] Admin will approve this sms template when user will sent this sms he can replace one word with …

Member Avatar for HITMANOF44th
0
100
Member Avatar for //Gonz

Hello daniweb chums I once again cannot seems to get a simple bit of text box validation working I am trying to detect if a first name entered contains a number by converting the text box text into a char array and then convert each character entered (using a for …

Member Avatar for Antenka
0
259
Member Avatar for klemme

Hi guys, I would like to validate some form input, and only allow the folowing: letters, numbers, /, - if(!preg_match("*[0-9A-Za-z,-,/]", $url_key)){ $erros[1] = '<small>Error submitting url key!</small>'; } Which is not working.. Its not the point only to allow one / or - But only letters, numbers and /- in …

Member Avatar for pritaeas
0
2K
Member Avatar for onat12`

I have a Login validation problem, when Username = 123-incorrect Password = 123-incorrect Login Failed. when Username = onat12-correct Password = sambuca888-correct Login Accepted. now when, Username = onat12-correct Password = 123-incorrect Login Failed. now when, Username = 123-incorrect Password = 123-incorrect Will not validate Verification failed [CODE]using System; using …

Member Avatar for hericles
0
203
Member Avatar for RobotFX

Hi I'll get straight to the point. I'm using this code [CODE] $sex = @$_GET['v'] ; $sex= trim($sex); //trim whitespace from the stored variable $sex = htmlentities($sex); $age= @$_GET['age'] ; $age = trim($age); //trim whitespace from the stored variable $age = htmlentities($age);[/CODE] ... to get the age and sex credentials …

Member Avatar for Sorcher
0
249
Member Avatar for hindu times

Hi there, I'm working on someone else's site, and I need to add something to their form to make sure that the email address people enter is the correct format (i.e. it has a @ sign and a "."). It currently only checks if there is anything in the field …

Member Avatar for MeSampath
0
150
Member Avatar for dd2308

hello, I m trying to check if user has selected at least one checkbox and give an alert for select atleast one. the checkbox in the forms are dynamics depends up on data received from database for ex. user has to select at least one customer to process ahead . …

Member Avatar for Troy III
0
294
Member Avatar for SethHall

Hey guys, I've been trying to do this since yesterday with no luck. I've tried stackoverflow, DIC and this is my last chance. I'm using drop down boxes to have a user select a ship date. I don't want them to be able to choose a date in the past …

Member Avatar for SethHall
0
1K
Member Avatar for 3FatCats

The assignment requires program to read from a file into an array, use two boolean functions to validate certain data (set to "true" when there are no errors) then output any errors to a separate file. Everything works fine except for validating the rate. All the numbers are read into …

Member Avatar for 3FatCats
0
241
Member Avatar for feoperro

Hi, I made my own javascript method that I'd like to integrate into the JQuery validation plugin. I am new to JQuery and I'm not really sure how to integrate it though... Here is my javascript [B]working[/B] method: [CODE] function doAjax() { var captchaResponse = document.getElementById("registerCaptcha").value; $.ajax({ type: "POST", url: …

0
123
Member Avatar for Kron

Ok, so basically I have an assignment in which I have to determine if what the user typed in is a number between 0-9, a letter or a symbol. The commands I can use are: [CODE]cout endl system("pause") system("cls") #include<iomanip> setw(#) setfill('ch') "\t" cin getline(cin,s) bool char int double string …

Member Avatar for Narue
0
233
Member Avatar for kira_

Hi there.. I'm quite a noob in PHP.. I'm working with Joomla at the moment.. and I'm supposed to check whether or not the fields in the user registration form are filled with the correct format.. For example, the user name should have this sort of format NNN-NNN-NNN.. How do …

Member Avatar for ko ko
0
98
Member Avatar for ghost_from_sa

Hey guys, I was wondering if there is possibly an "onBlurr" or "onChange" way I can check using JavaScript if a Birth date is correct I've seen a couple but I have a pretty simplistic way about how I want to get it done. Basically what I would like to …

Member Avatar for jbennet
0
215
Member Avatar for ntagrafix

hi, I worked around to modifying regular expression below but i could't get what I need. I google it, many things found but not for what i want. [CODE] Dim valid AS Boolean = Regex.IsMatch(TextBox1.Text, "^(,?\d+){0,20}$") [/CODE] Allow numbers exactly like 32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744 in TextBox1. Perfect. NOW i want 20 numbers …

Member Avatar for ntagrafix
0
214
Member Avatar for rayden150

Im trying out php to help me on the logic side with my form but the php is just not working, The folder is on the desktop, its not in the XAMPP directory, I saved it as a php file, and still nothing the only thing I could think of, …

Member Avatar for sv3tli0
0
115
Member Avatar for greyhound

Hi, I'm really stuck on hooking into the clientside events of the validationsummary. It is showing correctly when form fields are invalid but I would like to do something fancy like fade the summary in on form submission and fade it out again after a few seconds. This should be …

0
121
Member Avatar for kaizokupuffball

Okay, so basically i need a little helpt with some validation code. I need to see if the user has actually selected an image, if not, $error = 1;. I tried this: [CODE]if($_FILES['image']['name'] == "") { echo 'Error: Select an image!'; $error = 1; }[/CODE] I tried several times to …

Member Avatar for kaizokupuffball
0
462
Member Avatar for Coyx

Hi guys! I'm back with more problems! I've tried everything... I just can't seem to get it to work. :( Okay, a short explanation of what the goal is. I have 5 buttons, and a list of records which are pulled from the database. Import CSV Create Edit Delete View …

Member Avatar for stbuchok
0
282

The End.