51 users online (0 members and 51 guests)  

Thread: Sub forms


  Results 1 to 3 of 3

Related

  1. Forms    Forum: HTML Forum
    Replies: 6
  2. Forms Help    Forum: HTML Forum
    Replies: 4
  3. Forms    Forum: HTML Forum
    Replies: 3
  4. Help with forms please....    Forum: HTML Forum
    Replies: 1
  5. Forms    Forum: HTML Forum
    Replies: 1
  1. #1
    slicence's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    2

    Sub forms

    I am new to using HTML forms, but I am trying to discover whether I can embedded a form within another form in anyway. I know that you cannot have
    <form>
    <form>
    </form>
    </form>

    But is there a work-around?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    No work around, forms cannot be nested at all.

    Is there any particular need to have two forms? Maybe if we know the situation, we can suggest an alternative method.

    Welcome to the forums, by the way
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    slicence's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    2

    Re: No nesting of forms

    The reason is I am trying to code as part of my University project that will convert a Microsoft Access form to a HTML form, but the Access form contains a subform, so I was trying to make it easy on myself and see if I could achieve the same subform relationship. I do believe you, so there's no way I can do
    <form>
    <table>
    <td>
    <form>
    </form>
    </td>
    </table>
    </form>

    Oh well...I'll have to get the code to work out that the forms need to be split. *sigh*



Tags for this Thread