Hi,
I have Database Values Selection Field in Create Issue Form. The values from the database are loaded properly in the control. I want to get the selected value from this custom field (when onchange event) and assign it to Summary Field .
I have tried the following javascript with SelectList field.
<script type="text/javascript">
prior = document.getElementById('customfield_10903');
if (prior)
{
prior.onchange=function() {
sum = document.getElementById('summary');
sum.value=prior.options[prior.selectedIndex].text;
}
}
The above code is properly working for SelectList field. I tried this approach for Database Selection Field. But it is not working. Do I need to use something different to get value from Database Selection Field?. Please Advice.
Thanks,
Arunachalam M.