submitting more than one form on onepage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kgbalaji1980
    New Member
    • Feb 2007
    • 1

    submitting more than one form on onepage

    Hi all,

    i want the jscript coding for more than one form in one page and submitting the same . ie one parent form and one append button when we click that button one child form will display and so on. we have to submitting for the same

    regards
    Balaji
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by kgbalaji1980
    Hi all,

    i want the jscript coding for more than one form in one page and submitting the same . ie one parent form and one append button when we click that button one child form will display and so on. we have to submitting for the same

    regards
    Balaji
    Welcome to TheScripts.com. How 'bout we see what they have to say in the Javascript Forum?

    Comment

    • aswincts
      New Member
      • Feb 2007
      • 3

      #3
      Hi
      I think this code helps you. Here name1 is radiobuttons name. you have to give a condition.

      function action1(){

      if(document.for m1.name1[0].checked==true)
      {
      document.form1. action="one.jsp ";

      }
      else if(document.for m1.name1[1].checked==true)
      {
      document.form1. action="two.jsp ";
      }
      else if(document.for m1.name1[2].checked==true)
      {
      document.form1. action="three.j sp";
      }
      }

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by kgbalaji1980
        Hi all,

        i want the jscript coding for more than one form in one page and submitting the same . ie one parent form and one append button when we click that button one child form will display and so on. we have to submitting for the same

        regards
        Balaji
        What code do you have so far? That'll make it easier to understand exactly what you are trying to achieve. Do you want to create a form or do you want a hidden form to display?

        Comment

        Working...