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 OnValidate

Print topic Send  topic

Author Message
sneakers

Posts: 13
Posted: 04/30/2004, 8:04 AM

I am using an editable grid and I want to include custom edits in the Form Validate event.
example edit:
if field_1 in row-2 == field_1 in row-3 then we have an error.

I am assuming the data is stored in an array at the Form level. What is the syntax for accessing the form data?

????? myform->something[row-number]->myfield->GetValue()
View profile  Send private message
Don Safar
Posted: 04/30/2004, 8:40 AM

I ran into the same problem (using PHP). It appears the row information is
not available in the form validation event. Support suggested that I use the
control validation event and this works..
"sneakers" <sneakers@forum.codecharge> wrote in message
news:540926b1b89e1d@news.codecharge.com...
> I am using an editable grid and I want to include custom edits in the Form
> Validate event.
> example edit:
> if field_1 in row-2 == field_1 in row-3 then we have an error.
>
> I am assuming the data is stored in an array at the Form level. What is
the
> syntax for accessing the form data?
>
> ????? myform->something[row-number]->myfield->GetValue()
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Bobby
Posted: 05/02/2004, 6:36 AM

:)
"sneakers" <sneakers@forum.codecharge> wrote in message
news:540926b1b89e1d@news.codecharge.com...
> I am using an editable grid and I want to include custom edits in the Form
> Validate event.
> example edit:
> if field_1 in row-2 == field_1 in row-3 then we have an error.
>
> I am assuming the data is stored in an array at the Form level. What is
the
> syntax for accessing the form data?
>
> ????? myform->something[row-number]->myfield->GetValue()
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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