Forum Moderators: open

Message Too Old, No Replies

Copy and Pase a form?

         

tml89

11:50 pm on Nov 10, 2004 (gmt 0)

10+ Year Member



I just spent a nice chunck of time creating a form for my website. I need this same form on 3 different pages of my site. In frontpage can I simply copy and paste the form from page to page? Will this mess anything up?

ncw164x

12:00 am on Nov 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Asuming that your site layout is the same for all the pages you could save the same page as

form.html
form1.html
form2.html

changing the word form to whatever you call the pages, it's also advisable to change the page title and description for each page

tml89

12:44 am on Nov 11, 2004 (gmt 0)

10+ Year Member



Hmmm... my pages are different.

So I cant just highlight the form and paste it to the other page?

ncw164x

12:48 am on Nov 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes you can no problem if that's what you want to do

tml89

12:59 am on Nov 11, 2004 (gmt 0)

10+ Year Member



I just tried it and it seems to work. Do I have to create new form, then copy and pase the form fields into the area, or just copy and paste?

tml89

1:05 am on Nov 11, 2004 (gmt 0)

10+ Year Member



One more question, is there any way to copy the entire form field properties. I have one field thats 30 or 40 selections. The other form is basically the same thing, I dont want to type it all over

pageoneresults

1:51 am on Nov 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You might also look at creating an Include for the repetitive form areas (as long as they are continuous, no breaks).

Then take that Include and place it on all three pages where you would have placed the normal form content.

P.S. If you are cutting and pasting anything in FrontPage, you should have your Reveal All selected. This way you will be able to grab all of the code. Try this in WYSIWYG view...

Ctrl + /

See all the tags now? If you are working with CSS and have classes and/or ids assigned to the tags, you can hover your mouse over the beginning tag and a tooltip will appear with the extended code.

If you click on a beginning tag in Reveal All mode, it will automatically highlight everything between the opening and closing tag. This way you know you are copying everything. FrontPage has a sneaky way of leaving pieces of code behind if you do not use this option. Particularly form elements!