This addresses issue #1231.
Select elements by id rather than from form.
Change credit name input to hidden rather than disabled if not applicable.
If this works as it appears to be intended the code could be simplified by removing comments which no longer apply and revising the function dropdown_select_values_and_labels() which appears to be used in only one place.
This addresses issue #1231. Select elements by id rather than from form. Change credit name input to hidden rather than disabled if not applicable. If this works as it appears to be intended the code could be simplified by removing comments which no longer apply and revising the function
dropdown_select_values_and_labels()
which appears to be used in only one place.Sandbox at: https://www.pgdp.org/~rp31/c.branch/pref_credit