SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
May 1, 2002, 12:24 #1
- Join Date
- Feb 2001
- Posts
- 6
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Copying & Pasting Forms in Dreamweaver 4
On several of my pages I have two or more forms on a page. When I cut and paste a form in the visual designer Dreamweaver tries to outsmart me and slap a additional number on some of the name fields where I do not what them.
The originial form before I cut it:
<FORM ACTION="/psmscgi/psmsnet.pgm" NAME="pertandt" METHOD="POST" AUTOCOMPLETE="OFF">
<INPUT TYPE="HIDDEN" NAME="WSYD_EVENT" VALUE="pertandt">
<INPUT TYPE="HIDDEN" NAME="WSYD_SID" VALUE="/(WSYDHIDDEN)/(WSYD_SID)">
A HREF="JavaScript:document.pertandt.submit()">Perfect Turn and Tonnage</A>
</FORM>
After I paste the form onto the page:
<FORM ACTION="/psmscgi/psmsnet.pgm" NAME="pertandt" METHOD="POST" AUTOCOMPLETE="OFF">
<INPUT TYPE="HIDDEN" NAME="WSYD_EVENT2" VALUE="pertandt">
<INPUT TYPE="HIDDEN" NAME="WSYD_SID2" VALUE="/(WSYDHIDDEN)/(WSYD_SID)">
A HREF="JavaScript:document.pertandt.submit()">Perfect Turn and Tonnage</A>
</FORM>
The above situation does not apply when I paste the form in the source window. Is there an option in Dreamweaver where I can turn this functionality on/off?
Any help would be greatly appreciated.
Leslie--------------------------------------------
Leslie Franke - lesliefranke.com
Palm Powered eBooks. COOL:Plex. Ohio Pathfinders
-
May 1, 2002, 15:38 #2
- Join Date
- Aug 2001
- Location
- London
- Posts
- 2,475
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
its actually an option
push
ctrl U // click general tab
under editing options
untick rename form items when pasting
-
May 2, 2002, 06:45 #3
- Join Date
- Feb 2001
- Posts
- 6
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Andrew...
Thank you for your reply. I am afraid I am missing something, though. Under Preferences, General, and in the Options section I do not see the option you are speaking of.
LeslieLast edited by lesliefranke; May 2, 2002 at 07:01.
--------------------------------------------
Leslie Franke - lesliefranke.com
Palm Powered eBooks. COOL:Plex. Ohio Pathfinders
-
May 2, 2002, 07:25 #4
- Join Date
- Aug 2001
- Location
- London
- Posts
- 2,475
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
if you are using dreamweaver 4
when you hold ctrl + U, it will bring up the preferences panel, or go to edit and its the 2nd from bottom option.
on the preferences panel it has a catorgory list
ie
General
Code colors
Code Format
etc
click the general tab.
in there it has two catorgorys
[list=1][*]file options[*]editing options[/list=1]
in the 3rd tick box down it has (or 7th checkbox from the top)
rename form items when pasting (untick this box and click ok)
-
May 2, 2002, 10:40 #5
- Join Date
- Feb 2001
- Posts
- 6
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Andrew...
Go it. Thank you very much.
Leslie--------------------------------------------
Leslie Franke - lesliefranke.com
Palm Powered eBooks. COOL:Plex. Ohio Pathfinders
Bookmarks