996 |
page_start_html($page); |
page_start_html($page); |
997 |
page_heading($page, 'Create Problem Report'); |
page_heading($page, 'Create Problem Report'); |
998 |
|
|
999 |
print multipart_form_start(-name=>'sendPrForm'), "\n", |
print multipart_form_start(-name=>'PrForm'), "\n", |
1000 |
hidden_db(), |
hidden_db(), |
1001 |
hidden_debug(), |
hidden_debug(), |
1002 |
$q->span($q->submit('cmd', 'submit'), |
$q->span($q->submit('cmd', 'submit'), |
1015 |
|
|
1016 |
# keep count of field number, so that javascript hooks can |
# keep count of field number, so that javascript hooks can |
1017 |
# have a way to access fields with dashes in their names |
# have a way to access fields with dashes in their names |
1018 |
# they'll need to use sendPrForm.elements[fieldNumber].value |
# they'll need to use PrForm.elements[fieldNumber].value |
1019 |
# instead of the dashed name |
# instead of the dashed name |
1020 |
# note that this is a zero-based count!! |
# note that this is a zero-based count!! |
1021 |
# there are six fields "hardcoded" into the form above this point. |
# there are six fields "hardcoded" into the form above this point. |
1473 |
# Trim Responsible for compatibility. XXX ??? !!! FIXME |
# Trim Responsible for compatibility. XXX ??? !!! FIXME |
1474 |
$fields{$RESPONSIBLE_FIELD} = trim_responsible($fields{$RESPONSIBLE_FIELD}); |
$fields{$RESPONSIBLE_FIELD} = trim_responsible($fields{$RESPONSIBLE_FIELD}); |
1475 |
|
|
1476 |
print multipart_form_start(-name=>'editPrForm'), "\n", |
print multipart_form_start(-name=>'PrForm'), "\n", |
1477 |
hidden_db(), |
hidden_db(), |
1478 |
hidden_debug(), |
hidden_debug(), |
1479 |
$q->span($q->submit('cmd', 'submit edit'), |
$q->span($q->submit('cmd', 'submit edit'), |
1502 |
|
|
1503 |
# keep count of field number, so that javascript hooks can |
# keep count of field number, so that javascript hooks can |
1504 |
# have a way to access fields with dashes in their names |
# have a way to access fields with dashes in their names |
1505 |
# they'll need to use editPrForm.elements[fieldNumber].value |
# they'll need to use PrForm.elements[fieldNumber].value |
1506 |
# instead of the dashed name |
# instead of the dashed name |
1507 |
# note that this is a zero-based count!! |
# note that this is a zero-based count!! |
1508 |
# there are ten fields "hardcoded" into the form above this point. |
# there are ten fields "hardcoded" into the form above this point. |