SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question 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

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    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


  3. #3
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    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.

    Leslie
    Last edited by lesliefranke; May 2, 2002 at 07:01.
    --------------------------------------------
    Leslie Franke - lesliefranke.com
    Palm Powered eBooks. COOL:Plex. Ohio Pathfinders

  4. #4
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    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)

  5. #5
    SitePoint Member
    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

Posting Permissions

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