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.
|
 |
 |
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 |
 |
 |
|