CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Validation Rule and Validation Text

Print topic Send  topic

Author Message
PeterJ


Posts: 90
Posted: 02/26/2005, 11:09 AM

Hi

I've set a validation rule thus:

$this->contactdetails->GetValue() == "c2c"

and the text as:

"Warning, you must enter Contact Details"

All pointing to an error control label in the form

Can anyone explain why my error message is returned like this:

Warning, you must enter Contact Details <br>

Why <br> on the end? Can't see that anywhere in the script

View profile  Send private message
klwillis


Posts: 428
Posted: 02/26/2005, 3:03 PM

Define the content type of the control as HTML
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
PeterJ


Posts: 90
Posted: 02/27/2005, 1:08 AM

Genius! Thanks klwillis, couldn't see the wood for the trees!
View profile  Send private message

Add new topic Subscribe to topic   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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