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

 Dependent fields

Print topic Send  topic

Author Message
kirankumar

Posts: 6
Posted: 08/28/2008, 9:37 PM

Hi,

I have form which is used for scheduling there i have fields like name, date , interviewer,......
when filling this form after selecting the date field i want that interviews filed (select box) should be updated.

For doing the above what is the procedure should i follow please help me.

Best regards,
kiran.
View profile  Send private message
maxhugen

Posts: 272
Posted: 08/31/2008, 8:20 PM

I'm not sure I properly understand your question, but...

You can use the record's BeforeInsert or BeforeUpdate events to check if the date field has been entered, and if it has, set the interview_filed field, eg:
  
if ( $Component->my_date_field->GetValue() ) {  
    $Component->interview_filed->SetValue("1")  
}
Of course, you would SetValue to whatever the value should really be...

Does that help?
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
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.