Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

Losing HTML code within Dreamweaver

In developing e-mail forms, I would train users how to edit the <form method="post"action=""> and change it to <form action="/cgi-bin/email_form.asp" method="POST" name="">.  As users go into HTML and replace the form code, then come out of the HTML, the new code they entered would not save and go back to the original. The form is using a template, but the code is in an editable region. Has anyone experienced this?
0
jahnae
Asked:
jahnae
1 Solution
 
cybernieticCommented:
I've tried it in Dreamweaver 3 it seems to work

My form in the template has this code :

<!-- #BeginEditable "form" -->
        <form method="post" action="">
        </form>
 <!-- #EndEditable -->

0
 
cabrionetCommented:
You must disable option HTML rewriting:

Edit -> Preferences -> HTML Rewriting

I had the same problem ;)

Good luck

Cabrio
0
 
davlun20080Commented:
i think cybernietic is correct.  most likely the template you created does not have an editible region declared that the user can edit.  

the html preview window will let you modify html in the html preview window but will not carry your changes back to the visual side unless the region you are correcting is in an editable region.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
jahnaeAuthor Commented:
Comment accepted as answer
0
 
jahnaeAuthor Commented:
Should I have the check boxes checked or unchecked for the choices:

1. Fix invalid Nested and Unclosed Tags

2. Remove extra closing tags

My PC at my desk are currently unchecked and haven't run across this problem.  I'll check the training room to see what they are set at.
0
 
davlun20080Commented:
I leave those options unchecked...
davlun
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now