Add Forms to iWeb Pages
Home » Tutorial » Add Forms to iWeb Pages
By Dan | 23 CommentsLeave a Comment
Last updated: Tuesday, April 22, 2008

FCDAF13C-CA4D-4C56-968B-D591AEE599BC.jpgiWeb has allowed individuals to quickly create all kinds of websites. But unfortunately the ability to add forms to these websites is not an included feature.

Luckily, with a bit of help from two free web services, forms can be added to help gather information from individuals visiting your website.

Create the Forms For iWeb

To be able to add forms to your iWeb pages you first need to create them. Google Docs recently added the ability to create forms and have the data collected stored in their spreadsheet application.

To create a form on Google Docs:

  1. Login to docs.google.com
  2. Open a New Spreadsheet
  3. Click the Share tab
  4. Check ‘To Fill Out a Form’ and then Start Editing your Form
  5. Create your form and click Save
  6. Return to your Spreadsheet’s Edit tab and click the link to Go To Live Form. Copy the URL of the Live Form

Now that we’ve created the form we’ll want to put the form into a format that will fit nicely into our iWeb pages. A new web application, Sprout, will help us do just that.

Home | Sprout Builder - Create living content..png

To have Sprout help us setup our forms in a format perfect for our iWeb site:

  1. Navigate to Sprout and Get Started with a Blank Slate
  2. Add a title for your Form and enter the size you’d like your Form to be on your iWeb page
  3. Now that your blank slate is loaded and ready, select Services (under Components on the right) and then Google Forms
  4. Instructions on how to add your Google Form to your Sprout will be displayed on your Blank Slate - Paste the URL into the Form URL field on the Right
  5. After you’ve pasted the url, hit return and you should see your form on your slate.
  6. Now we need to Publish your Slate.. Click Publish in the top Right (You may need to create an account with Sprout - Don’t worry its free)
  7. Once your Sprout has been published, copy the code in the box to the right.

Adding the Form to iWeb

Now that we’ve created and formated the Form we need to add it to the iWeb page we’d like it to appear on. To do this, open up iWeb and click Web Widgets and select HTML snippet. Past the code from Sprout into the HTML snippet box and hit enter.

iWeb.png

Once this is finished, you should see your Form on your iWeb page. More the Form to the location you’d like to store it on your page and publish your iWeb site. Every time your Form is filled out and submitted, the results will be stored in your Google Docs Spreadsheet for your review.

iWeb-1.png

While this approach does take a few steps to get a form onto your iWeb page, it is a free solution that allows you some customization and storage options for the feedback provided by visitors to your website.

What type of Forms will you create for your iWeb site?

If you’ve enjoyed this article, be sure to subscribe to our RSS feed to discover more ways to optimize your iWeb and Mac experience.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

No related posts.

Comments

23 comments
  1. Jeremy
    April 23, 2008

    Thanks!
    I will be using it for a sports registration form. To make it a seamless experience, I have used sprout’s ‘go to next page’ for the ‘on submit’ action. I created a second page that has a button with a link to a page on my site that has a ‘pay now’ paypal button. Once it is paid paypal’s exit page goes back to my website’s ‘registration completed’ page. This makes the whole process of registration and payment seem 100% on my site. I also set up Google Docs to send me an email whenever anyone fills out the form.

    Thanks again! As this is a non-profit soccer program for ’special needs’ kids it sure is great to be able to do it for free!

    Leave a reply
  2. Dan
    April 24, 2008

    Jeremy,

    I’m glad this has worked out so well for you! Its really great when you can combine a bunch of free applications to get exactly the web site features you were looking for.

    Sprout has some real potential in creating dynamic websites. I’m sure you could use it to also show the schedule or records of teams in the sports league.. and updates would be as simple as updating your google docs page.

    Leave a reply
  3. olin
    April 24, 2008

    nice post! thanks for sharing this info.

    Leave a reply
  4. marek stycos
    April 29, 2008

    Dan;
    It worked like magic! Only stumbling block I ran into was tabbing between fields. It won’t do it. What step did I miss?
    Thanks,
    marek

    Leave a reply
  5. Craig
    May 8, 2008

    works well but one problem when I make the form and have a drop down list and publish it you can click on them but it wont add the selection to the document

    any advice

    Craig

    Leave a reply
  6. Dan
    May 10, 2008

    Craig,

    It may be a problem caused by sprout. You could create an iframe of the google doc form page and embed it into iWeb… That may not have the look you’re hoping for but should solve the problem. Let me know if you need help with that task.

    Leave a reply
  7. Craig
    May 14, 2008

    Hey Dan interesting thing now ! once you edit your form and click on the tab preview and send, the top right theres a embed Button click on it and it gives you the code to copy and paste into iweb !!

    Leave a reply
  8. Dan
    May 14, 2008

    Craig, thanks for the info. Yes, the embed code on the google docs share form page includes the iframe code to add to your iWeb page.

    Leave a reply
  9. Maciverse » Blog Archive » Best of Maciverse: May 08
    May 18, 2008

    [...] Add Forms to iWeb Pages [...]

    Leave a reply
  10. Brian
    May 22, 2008

    That is a great solution! The one thing i am having trouble with is that i took the embed code straight from google and put it in iweb and when i submit the form the thank you page has a link to “create your own form” clicking on that bring up my e-mail etc. Is there a way to stop that from appearing on the site?

    Leave a reply
  11. Dan
    May 22, 2008

    Brian, Can you post a link to your site so we can take a look at it. I imagine it may have to do with a setting in your google docs account.

    Leave a reply
  12. Dan
    May 22, 2008

    Brian, looks good. Be sure to check that the form is capturing all fields as some have reported that sprout caused some fields to save as blank.

    Leave a reply
  13. Brian
    May 22, 2008

    Cool! thanks for the great tips! i have bookmarked this site and will be back for sure! I have done several trial submissions and it seems to be keeping up with the info. I have it set to alert me as well as when this goes live it will provide residents with a way to let us know of their vector control issues. Again - great job - i was beating my head against a wall trying to get that into iweb before!

    Leave a reply
  14. Brian
    May 22, 2008

    I think i will try this for an interactive map as well - the google web widget in iWeb seems to only allow you create one point on the map…i was bummed to find that out!

    Leave a reply
  15. Dan
    May 22, 2008

    Glad it has worked so well for you. Best of luck with the new site.

    Leave a reply
  16. Clay
    May 24, 2008

    very cool! Thank you!!

    Leave a reply
  17. Noel
    May 28, 2008

    “To make it a seamless experience, I have used sprout’s ‘go to next page’ for the ‘on submit’ action. I created a second page that has a button with a link to a page on my site that has a ‘pay now’ paypal button.”

    I’m not having the same success as Jeremy when it comes to the submit button on my form. I’ve made the changes in sprout, but when I publish it to my site it doesn’t forward to the next page. Am I missing something? Please help!

    Leave a reply
  18. Dan
    May 31, 2008

    Noel,

    Are you still having the problem? I went to your site and submitted a blank form and it showed the “go to paypal button” and clicking that took me to your Payment options page.

    Did you find the problem?

    Leave a reply
  19. peter
    June 2, 2008

    Dear Dan,

    regarding your calendar tip: I succeeded in creating the holiday calendar, but fail to see the ” iCal button in the address row” of the google calendar (only see the RSS button) ??? any further tips to get this iCal link

    Leave a reply
  20. Dan
    June 2, 2008

    Peter, The Address Row I referred to is not the browser address bar but a row on the Calendar Settings page that can be accessed by clicking the drop down arrow next to the Holiday Calendar.

    Leave a reply
  21. peter
    June 2, 2008

    THX Dan,
    Missed that one.
    But all works fine now!

    Peter

    Leave a reply
  22. Carrie
    July 13, 2008

    Dan,

    I am a new Mac user and I have made a wonderful website page using the iweb program, however I have a domain name through Register.com and I am unable to merge my domain name to my iweb page, can you help. Also is there any way to add a paypal button to the iweb page itself. I am so confused, but not a computer novice, this has just become a challenge and I don’t know where to turn.

    Thank you,

    Carrie

    Leave a reply
  23. Dan
    July 13, 2008

    Carrie - I sent a response to you via email. Let me know if you have additional questions.

    Leave a reply

Leave a Comment

Add your picture!
Join Gravatar and upload your avatar. C'mon, it's free!