Form tag makes everything disappear

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Form tag makes everything disappear

    I have been working with DW for years, but just recently upgraded to DW 8, (on
    a Mac), and I am noticing a peculiar problem. If you look at the code below,
    you will see that I am trying to add form tags to a form that's in a table,
    nestled within a table. In looking at the code, it should work, but once I add
    that closing "form" tag, the whole editable region and everything in it
    completely disappears!

    Any ideas on what is going wrong? Thanks!

    [Q]<!-- InstanceBeginEditable name="Content" --><span
    class="headertext">Contact Us </span>
    <p> Fields marked with a <span class="style1">*</span> are
    required to ensure a timely response!</p>
    <table width="400" cellpadding="2">
    <tr>
    <td width="114" valign="top" bgcolor="#F0F0F0"><div
    align="right">Name:</div></td>
    <td width="274">
    <form name="contact" method="post" action="">

    <input name="Name" type="text" id="Name"></td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#F0F0F0"><div
    align="right">E-mail:</div></td>
    <td><input name="Email" type="text" id="Email"></td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#F0F0F0"><div
    align="right">Subject:</div></td>
    <td><input name="Subject" type="text" id="Subject"></td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#F0F0F0"><div
    align="right">Message:</div></td>
    <td><textarea name="Message" cols="35" rows="10"
    id="Message"></textarea></td>
    </tr>
    <tr>
    <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
    <td><input name="Submit" type="submit" id="Submit"
    value="Submit"> <input name="Reset" type="reset" id="Reset"
    value="Reset"></form></td>
    </tr>
    </table>
    <p>&nbsp; </p>
    <!-- InstanceEndEditable -->[/Q]

    GrloftheCity Guest

  2. Similar Questions and Discussions

    1. Form Fields Disappear
      Hi, I'm trying to create a form. AAP8.0 has recognised some of my fields from my PDF export (from Pages). However when I try and add fields they...
    2. How to make: Checking box makes a dollar value appear on the form
      In my form I have two radio button boxes. One is accept, the other is reject. When someone checks the accept box, I want a dollar value to appear on...
    3. Panels that disappear!!
      dman2 wrote: Wish I did. I have a weird panel behavior as well: double-clicking on a swatch makes the swatch panel, tint panel and mixer panel...
    4. User changing something on a form makes asp.net take user to login page
      Hi, I have an application that displays the database table records on the web page, the user can navigate thru the contents and make changes and...
    5. OEM jobs don't disappear
      Hi all, I am using OEM with Management Server. I have created some JOBS and after a while I have deleted those but they won't disappear, they...
  3. #2

    Default Re: Form tag makes everything disappear

    Your code is invalid. That's why it is disappearing - DW doesn't know what
    to do with it.

    <td width="274">
    <form name="contact" method="post" action="">
    <input name="Name" type="text" id="Name"></td>

    If you are opening a form within a <td>, you must CLOSE it within that same
    <td>. You are not doing that. Your best solution would be to wrap the form
    around that inner table, rather than putting it within the inner table.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "GrloftheCity" <webforumsuser@macromedia.com> wrote in message
    news:e6lkkv$7nd$1@forums.macromedia.com...
    >I have been working with DW for years, but just recently upgraded to DW 8,
    >(on
    > a Mac), and I am noticing a peculiar problem. If you look at the code
    > below,
    > you will see that I am trying to add form tags to a form that's in a
    > table,
    > nestled within a table. In looking at the code, it should work, but once
    > I add
    > that closing "form" tag, the whole editable region and everything in it
    > completely disappears!
    >
    > Any ideas on what is going wrong? Thanks!
    >
    > [Q]<!-- InstanceBeginEditable name="Content" --><span
    > class="headertext">Contact Us </span>
    > <p> Fields marked with a <span class="style1">*</span> are
    > required to ensure a timely response!</p>
    > <table width="400" cellpadding="2">
    > <tr>
    > <td width="114" valign="top" bgcolor="#F0F0F0"><div
    > align="right">Name:</div></td>
    > <td width="274">
    > <form name="contact" method="post" action="">
    >
    > <input name="Name" type="text" id="Name"></td>
    > </tr>
    > <tr>
    > <td valign="top" bgcolor="#F0F0F0"><div
    > align="right">E-mail:</div></td>
    > <td><input name="Email" type="text" id="Email"></td>
    > </tr>
    > <tr>
    > <td valign="top" bgcolor="#F0F0F0"><div
    > align="right">Subject:</div></td>
    > <td><input name="Subject" type="text" id="Subject"></td>
    > </tr>
    > <tr>
    > <td valign="top" bgcolor="#F0F0F0"><div
    > align="right">Message:</div></td>
    > <td><textarea name="Message" cols="35" rows="10"
    > id="Message"></textarea></td>
    > </tr>
    > <tr>
    > <td valign="top" bgcolor="#FFFFFF">&nbsp;</td>
    > <td><input name="Submit" type="submit" id="Submit"
    > value="Submit"> <input name="Reset" type="reset" id="Reset"
    > value="Reset"></form></td>
    > </tr>
    > </table>
    > <p>&nbsp; </p>
    > <!-- InstanceEndEditable -->[/Q]
    >

    Murray *ACE* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139