sorusty
04-07-2003, 12:51 AM
Hello!
I've been pulling my hair out and hope somebody can help.
This code snippet:
function read_form(a) {
if (!set_vars(a)){
return false; }
if ((!a.date1.value) || (!a.date2.value)) {
alert('Please enter start and end dates.');
a.date1.focus();
return false; }
a.arg0.value+='-e '+a.date1.value+'-'+a.date2.value';
if (a.pipe_flag.checked) {
a.arg9.value='-l'; }
if (a.int_flag.checked) {
a.arg9.value+=' -I'; }
if (a.demo_flag.checked) {
a.arg9.value+=' -N'; }
return true; }
doesn't work, and causes the other functions in the page not to work. If I comment out the above, everything else works fine.
Any thoughts would be welcome
Tx,
Feeling stupid
I've been pulling my hair out and hope somebody can help.
This code snippet:
function read_form(a) {
if (!set_vars(a)){
return false; }
if ((!a.date1.value) || (!a.date2.value)) {
alert('Please enter start and end dates.');
a.date1.focus();
return false; }
a.arg0.value+='-e '+a.date1.value+'-'+a.date2.value';
if (a.pipe_flag.checked) {
a.arg9.value='-l'; }
if (a.int_flag.checked) {
a.arg9.value+=' -I'; }
if (a.demo_flag.checked) {
a.arg9.value+=' -N'; }
return true; }
doesn't work, and causes the other functions in the page not to work. If I comment out the above, everything else works fine.
Any thoughts would be welcome
Tx,
Feeling stupid