Results 1 to 7 of 7
  1. #1
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    I'm looking for a script that would enable people to fill out a form, insert those values into text on a html page, which they would then print...It's probably closest to something like "Mad Libs"...
    I've already searched high & low, so no google links please [img]/infopop/emoticons/icon_wink.gif[/img]

    FreeCallz.com - Free and cheap phone services.

  2. #2
    Newbie
    Join Date
    January 18th, 2005
    Posts
    2,694
    I don't know what Mad Libs is, - if you point me in the right direction I'll take a look - but if all you want to do is take form variables and output them into an HTML page, you could very easily write something like this yourself from scratch. Even if you've never done scripting this would be easy to learn to do as it's very basic.

    {

    "Laziness, Impatience, Hubris. Pick any three" ~ YAPC 19100

  3. #3
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    I'd like to give this a try...know any good tutorials?
    I will be using this on hundreds of forms on hundreds of pages...Can you think of a way to avoid having hundreds of scripts? The values they enter on each script will be inserted into the body of a corresponding "letter" that should be created on the fly...but the contents of the "letters" will be different for every case..specific to the form they used.
    Sorry if this is oversimplified or vague...

    FreeCallz.com - Free and cheap phone services.

  4. #4
    Newbie
    Join Date
    January 18th, 2005
    Posts
    2,694
    Actually I think I have a pretty good idea what you want to do now. You could avoid hundreds of separate scripts if you use it in conjunction with a database. The letters can be stored in fields in the database, then when the user submits the form, the script pulls the appropriate letter from the DB, plugs in the form variables, and outputs the customized letter to the screen where the user can print it.

    That would be more complex, but IMHO still not that difficult and you might want to give it a go yourself.

    Tutorials - depends on what you want to do it in. If you were going to do itin PHP/MySQL; just do a search on Google or at PHP Builder and you should come up with some good ones.

    {

    "Laziness, Impatience, Hubris. Pick any three" ~ YAPC 19100

  5. #5
    Full Member
    Join Date
    January 18th, 2005
    Posts
    246
    Is anyone still interested in such a script? I got one, just don't want to take the time to go through my archive if noone needs it.

    -- Less is more --

  6. #6
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Sacramento, CA
    Posts
    1,263
    I am interested, but I just started thinking about using PDF files instead...let me see what people think about that first.

    FreeCallz.com - Free and cheap phone services.

  7. #7
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    My (limited) experience with PDFs is that they are very difficult to produce on the fly. Each piece of text has to be positioned on the page by x/y coordinates and there seems to be no concept of templates etc.

    ...oh, and that's if you're using "tools" - can't imagine what it's like to do it the hard way [img]/infopop/emoticons/icon_confused.gif[/img]

    It doesn't sound like what you want to do is massively complex (though the devil is in the detail) - you might even be able to do it with flat files which keeps it even more manageable as a learning project.

    IMHO!

    Stewart Hutton | Are you Crazy?

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Show Entire Post or Partial Post on Main Page?
    By Uncle Rico in forum Blogging, Mobile and Social Media
    Replies: 6
    Last Post: May 10th, 2010, 09:30 AM
  2. Page name in the html of the page question
    By Doug247 in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: February 10th, 2004, 07:15 PM

Posting Permissions

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