This topic is locked

Conected data

6/8/2008 10:46:26 PM
ASPRunnerPro General questions
A
ashumak author

I have a field for a teams series, or divisions. Each division has a date of brith range of betwee 2-3 years. How would I go about linking the fields so that when the (ie) Bantam Division is selected, on the birth years 16-16 years ago are available?
Any help would be greatly apprciated.
Alan

J
Jane 6/18/2008

Alan,
to change field values on the add/edit page directly use custom JavaScript code.

Here is a sample:

<script>

document.forms.editform.value_country.onchange=function()

{

if(this.options[this.selectedIndex].value=='Bantam Division')

document.forms.editform.value_birth.value=16;

}

</script>