Results 1 to 2 of 2

Thread: Have you ever wanted to use the same form on another page?
      
   

  1. #1
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

    Default Have you ever wanted to use the same form on another page?

    Have you ever wanted to use the same form on multiple pages and realised that copying and pasting a form and its elements from page to another can be a bit fiddly and if you’ve made a mistake you have to repeat the correction as many times as you pasted it.

    It’s also a nightmare to re-position a form isn’t it?

    The solution is to use an I-Frame.

    1) Make a 3 pages to the exact size of the form you intend to use lets say 400 high by 400 wide
    The first page will be the one with the form and will be .php if you use the built in processor
    The second 2 will be a success and error page
    2) When filling these small pages with content, work a few mm from the edges or within boundaries we set earlier. If you want a background colour, you do this in page properties.
    3) Publish these 3 pages
    4) Insert your I-Frame on to a page where you want this form to appear and size it to 400h x 400w and set the properties for it not to show the scrollers.
    5) Assign the url of the form page and publish that.

    You can copy and paste this I-Frame from page to page with no problems and you can reposition to your heart’s content without fear of upsetting your form.

    If you find later on that you want to tweak your form, you only have to work on one page.

    The other good thing is that the success page will display in the same I-Frame which looks kind of cool.
    Happy Building

    DarrenC

  2. #2
    ahimsa's Avatar
    ahimsa is offline Major General
    Join Date
    Jan 2009
    Location
    in the now :)
    Posts
    2,172

    Default Re: Have you ever wanted to use the same form on another page?

    ...excellent, Darren - tks a lot :)
    david
    Never measure the height of the mountain you're climbing. At the summit, look back and see how small it really is!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49