CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Editable Grid Row Error

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 08/02/2013, 11:17 PM

Hi All
I scoured the Forums and found this post:
http://forums.yessoftware.com/posts.php?post_id=63720

Describing how to have the On Validate Row event throw an error right above the problem row rather than at the top.

$master_score_entry_OnValidate = False;
$master_score_entry->Errors->addError("Max score is 100");

Is the code I have.

What do I replace Errors with to get it to drop down to the row specific error?
What is the controlname for that?
I tried RowError as it is in the HTML but it threw an error.
_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
ckroon

Posts: 869
Posted: 08/02/2013, 11:19 PM

Solved it... I was sooo close:)
Jsut had to add an s to RowError

$gridname->RowErrors->addError("error message here");

:*)
_________________
Walter Kempees...you are dearly missed.
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.

MS Access to Web

Convert MS Access to Web.
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.