Results 1 to 9 of 9

Thread: Embedding a form on an existing webpage?
      
   

  1. #1
    Eides is offline Second Lieutenant
    Join Date
    Feb 2009
    Posts
    103

    Default Embedding a form on an existing webpage?

    Hello

    My URL is www.benefitplace.biz. I would like to, if possible, to created a small form on my home page for people to: opt-in, add their email address,
    and click send. If this is possible, do I save the whole home page as php? Do I still create a success and error page?

    Thanks (If this was answered in a previous thread, I cannot find the question or the answer)

    Phil

  2. #2
    WSBlue's Avatar
    WSBlue is offline Brigadier General
    Join Date
    Apr 2006
    Posts
    1,416

    Default Re: Embedding a form on an existing webpage?

    only page with Form need to be published in php.
    you can create success page,
    error page not needed if you validate the fields to make them required before Submit.

  3. #3
    Eides is offline Second Lieutenant
    Join Date
    Feb 2009
    Posts
    103

    Default Re: Embedding a form on an existing webpage?

    Thanks, But ...?

    I will publish the home page, that includes the form, to php! Is a "success" page required? I'd prefer that the party submitting their email not be directed from the home page that includes the form?

    Thanks again!

    Phil

  4. #4
    WSBlue's Avatar
    WSBlue is offline Brigadier General
    Join Date
    Apr 2006
    Posts
    1,416

    Default Re: Embedding a form on an existing webpage?

    in that case, then no need to create and direct to success page.
    Just click Send and done.

  5. #5
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Embedding a form on an existing webpage?

    Usually best to confirm that the message has been or not been successfully. You can just put a link on the success page back to the home page.
    Remember to also delete the html version of your home page on the server as the SE's will find this 1st & not your new index.php page.

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Embedding a form on an existing webpage?

    It is MANDATORY that you set a page as "success" page. If you don't want it to be a separate page, you can always set "index.php" as "success" page, so users are redirected to the same page after form submission.

    However, as Chris said, it would be nice that your visitor sees a confirmation page, to make sure his submissioan has actually taken place.

    A solution that suits both needs:

    Create a success page with a message like "Thank you for signing up. You will e recieving out newsletter soon. You are now being redirected back to our homepage" etc.

    Then set in that page a redirect in the success page that will redirect the user back to the home page after, say, 5 or 10 seconds.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    Eides is offline Second Lieutenant
    Join Date
    Feb 2009
    Posts
    103

    Default Re: Embedding a form on an existing webpage?

    Thanks - Now...

    How do I set a "redirect" in the success page?

    Phil

  8. #8
    Joeri007 is offline Private
    Join Date
    Mar 2010
    Location
    Belgium
    Posts
    4

    Default Re: Embedding a form on an existing webpage?

    Go to page properties on the success page
    Choose the tab Misc
    Redirect to internal page
    provide the correct URL
    Set the redirect delay:5-10 sec
    press OK
    and republish
    That's it

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

    Default Re: Embedding a form on an existing webpage?

    Quote Originally Posted by Eides View Post
    Thanks, But ...?

    I will publish the home page, that includes the form, to php! Is a "success" page required? I'd prefer that the party submitting their email not be directed from the home page that includes the form?

    Thanks again!

    Phil
    Here another way of doing using an I Frame http://www.vodahost.com/vodatalk/blu...ther-page.html

    Yes I've suggested you can use this idea on multiple pages, but it can be just your home page if you wish.

    If you test my contact page http://www.dcwebsolutions.co.uk/contact_us.php the success page is returned in the IFrame
    Happy Building

    DarrenC

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