I have to forms, with the name Form1 and Form2. I have a javascript that looks like this
function submitform()
{
document.Form2.submit();
}
function submitform()
{
document.Form1.submit();
}
When I click on View transactions on the top form (see attached screenshot) it works fine. But when I click on the view transactions on the bottom form, it submits the top form. None of the options like beginning date or items per screen in the bottom form work. How can I get the right form be submitted?
Start Free Trial