Value cascade in form fields with FP2003

I

Ian

Can anybody advise me on the best way to make a field value change on a form
when another field is updated, below is an example:

If Group = "name" Then
CLASSIFICA = "classification"
End If

When a value is selected from a drop down list or entered into a value field
I want FP2003 to look at the value and change another field i.e. CLASSIFICA
accordingly.

Many thanks

Ian
 
S

Stefan B Rusynko

See http://www.developer.irt.org/script/form.htm#4




| Can anybody advise me on the best way to make a field value change on a form
| when another field is updated, below is an example:
|
| If Group = "name" Then
| CLASSIFICA = "classification"
| End If
|
| When a value is selected from a drop down list or entered into a value field
| I want FP2003 to look at the value and change another field i.e. CLASSIFICA
| accordingly.
|
| Many thanks
|
| Ian
|
|
 
M

MD Websunlimited

Hi Ian,

Drop down list:
<select onchange="if (this.selectIndex > 0) { this.form.field1.value = this.options[this.selectedIndex].value } " >

Text (value) field :
<input type="text" onblur="this.form.field1.value = this.value;" >
 
Top