CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Validation Rule

Print topic Send  topic

Author Message
Jeroen Steggink
Posted: 07/19/2002, 3:32 AM

This is a multi-part message in MIME format.

------=_NextPart_000_0072_01C22F20.37BBD1F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

What should I fill in the Validation Rule box? For example the 5 digit =
zip code check. I know I can use the pre made check which I can choose =
from Input Validation, but I want to make my own.=20

I use php.


------=_NextPart_000_0072_01C22F20.37BBD1F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial></FONT><FONT face=3DArial><FONT size=3D2>What =
should I=20
fill in the Validation Rule box? For example the 5 digit =
zip code=20
check. I know I can use the pre made check which I can=20
choose from Input Validation, but I want to make my=20
own. </FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial><FONT size=3D2>I use php.</FONT><BR></DIV><FONT=20
size=3D2></FONT></FONT></BODY></HTML>

------=_NextPart_000_0072_01C22F20.37BBD1F0--
Geert van der Ploeg
Posted: 07/19/2002, 7:51 AM

You can enter a regular expression in the "input validation" field.
For example, a 5-digit code check would look like:

/^[\d]{5}$/


Regards,

Geert van der Ploeg




"Jeroen Steggink" <jeroen_steggink@hotmail.com> wrote in message
news:ah8pri$e8k$1@news.codecharge.com...
What should I fill in the Validation Rule box? For example the 5 digit zip
code check. I know I can use the pre made check which I can choose from
Input Validation, but I want to make my own.

I use php.

Jeroen Steggink
Posted: 07/19/2002, 8:14 AM

But I also want a custom error. That means I have to use the Validation Rule
and the Validation Text field.
I think I know how it works. Instead of only filling in the regular
expression you have to use ereg or a similar function.

"Geert van der Ploeg" <news@geert.triple-it.nl> wrote in message
news:ah990n$a8t$1@news.codecharge.com...
> You can enter a regular expression in the "input validation" field.
> For example, a 5-digit code check would look like:
>
> /^[\d]{5}$/
>
>
> Regards,
>
> Geert van der Ploeg
>
>
>
>
> "Jeroen Steggink" <jeroen_steggink@hotmail.com> wrote in message
>news:ah8pri$e8k$1@news.codecharge.com...
> What should I fill in the Validation Rule box? For example the 5 digit zip
> code check. I know I can use the pre made check which I can choose from
> Input Validation, but I want to make my own.
>
> I use php.
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.