Hi all,
I have a slight problem, I want to be able to list items from a column in a database
The column in the database is called Features and basically contains a list of values seperated by...
Type: Posts; User: aakinn; Keyword(s):
Hi all,
I have a slight problem, I want to be able to list items from a column in a database
The column in the database is called Features and basically contains a list of values seperated by...
Hi guys,
I have a WS which I have created in .NET which just searches the database based on parameters determined by the user.
I have started to implement the RESTful WS in java by adding the...
Hello all, I am currently trying to teach myself some PHP and mySQL work in order to build a DB driven website.
I have a table in my database which stores information about a product eg (product...
Yeh I noticed that I was appending that variable and changed it just after I posted, but even when the session start is at the top there seems to be the same problem
Notice: Undefined variable:...
Hello, im fairly new to PHP and im creating a website which requires a user login.
I am able to login but im having problem keeping state when I browse through the pages of the website. My login...
Cheers mate works now
Much appreciated
Akin
function usernameValidate(usernameString) {
var valid = true;
if ( usernameString == "" ) {
feedback('userMess','Enter your username here',7);
valid = false;
}
else...
Cheers mate, it worked
Many thanks
Akin
All I am using it for is for a phone number field . . Phone numbers are all 11 digits long so for example I require this format
02071234567
All i want validated is the restrictions on illegal...
Hi all,
I am using the following code to validate a phone number field
if(isNaN(number.value) && number.length !=11)
{
valid = false;
alert("Please ammend your number");
}
Try looking at the following thread i had a similar problem and this seemed to work. Could be where u initialize the variables in the javascript
...
That link seemed to provide me with the route to the problem, and with afew minor tweeks it is working fine.
Thanks for the help lads much appreciated
And i did check the error console it says the form i am using is undefined but I have defined it
The 2 Java script functions are below;
validate_signUp()
<script Language ="JavaScript">
function validate_signUp()
{
var illegalChars = /[\(\)\<\>\,\;\:\\\/\"\[\]\$\£\&\%\*\`\_\@\¬\!\-\?\|]/...
I have two forms on my website, they both use 1 javascript method on submit and 1 PHP action, the code can be seen below
Form 1
<form onsubmit="return validate_signUp();" action="signUp.php"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet"...
I am using to following scripts from the dynamic drive website
http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/index.htm
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm
...