Suppose you have an <input> field in your HTML that looks like this:
<input type="text" name="field" value="<!--#4DVAR [Table]Field-->">
If you were to modify this <input> using the Dreamweaver inspector, for instance, to change the name of the 4D field, you would find a nasty surprise in your HTML source:
<input type="text" name="myVar" value="<!--#4DVAR [Table]AnotherField-->">
It's easy to stop Dreamweaver from doing this. To fix this problem, go to Dreamweaver's Preferences (under the Edit menu), then click on the "HTML Rewriting" Category. You should see a section called "Special Characters," and one of the check boxes should read:
Encode <, >, &, and " in Attribute Values using &
Un-check this option. Now, Dreamweaver won't rewrite your 4D Tags when you edit the HTML object they are used in.