logo

Search Results for "validate"

This page is showing results 1 to 10 of 18

Checking for attachments in JavaScript

Have you ever needed to validate a form and check that there is at least one attachment? I did this recently and came up with the following solution. Place the following Formula in to the HTML Header...

5 Dec 2000 | Keywords: attachment, upload, limit | Read »

Date validation on global servers

Are you creating databases that live on servers all around the world and worried that you don't know which format the server expects dates to be entered in to fields of the date/time data type? You c...

13 Oct 2000 | Keywords: Date, Format | Read »

Form Validator R2.0

This database demonstrates an alternative method of using JavaScript to validate domino forms before their submission to the server. The difference with this database being that the validation routin...

19 Mar 2001 | Keywords: JavaScript, Validate, Submit | Read »

The form Submit method and event

Anybody with any programming experience starting to use JavaScript would expect that when they call a form's submit() method the corresponding onSubmit() event would be triggered. This is not the cas...

2 Nov 2000 | Keywords: Form, submit, onsubmit, validate | Read »

Modular Field Validation Script II

How many times have you found yourself writing JavaScript validation functions that look like this: ...

8 Mar 2001 | Keywords: fields, validate, form, modular | Read »

Ideas on reporting form validation errors

Users make errors - a fact of life. Just imagine if they were all perfect and never made a mistake. How easy our lives would be. This is never going to happen though is it and in the mean time we nee...

8 Jul 2001 | Keywords: errors, validation, div, style | Read »

Form Validator R3.0

An updated version of the code that aimed to make validating any field on any form a doddle....

6 Jun 2006 | Keywords: validation, prototype, fields | Read »

Modular Field Validation Script I

Anybody who does any programming will/should have heard of the "with" statement. I don't know why but I had always assumed this wasn't available in JavaScript. That was until today when I typed it in...

8 Mar 2001 | Keywords: with, form, validate, loop | Read »

Creating your own field properties

In browsers later than Internet Explorer 4, Opera 5 and Netscape 6 you can assign your own attributes to elements and then refer to their values in your JavaScript functions. Take the following input...

27 Mar 2001 | Keywords: input, help, alert, attribute | Read »

Limit the types of files users can upload

The following JavaScript function can be used to validate that the type of file that a user tries to upload is of a certain format. It does this by checking that the files extention (eg .html) is in ...

19 Oct 2000 | Keywords: File, upload, type | Read »

  Page 1 of 2 Next 8 Results »

Search Again