Results 1 to 6 of 6
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    164
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Web Form to Word (Microsoft Word)

    (Edited by HansV to make URL clickable - see <!help=19>Help 19<!/help>)

    Hello all. I've got a problem I'm hoping you experts could help me out on. I'm a coldfusion web developer and have been asked to take one of my existing forms and create a Microsoft Word form so my users can still fill out the form if they're on a plane or someplace where they do not have web access. They then can still fill out the form and save it inWord and enter the data from the Word form by hand later on into my system. The sample form i'm trying to build in Word can be found at the following URL...

    http://www.orlando-fitness.com/word/form.htm

    Is there some way to save this out as a word form. I have a popup calendar on it and some select boxes which are way out of my league when it comes to Word. Is this even possible. Any help would be MUCH appreciated! Thanks beforehand.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Web Form to Word (Microsoft Word)

    Could be a slightly big project to emulate the complete functionality... Word's native controls include text boxes and drop-downs, but the pop-up calendar may require a calendar control or other trickery.

    Here's a possible alternative. What if you create a version that you distribute in a zip file to extract to a local folder with all of its various resources, and change the form action to submit to mailto:username@domain? (Somehow getting the user's own address in there, perhaps from a textbox.) I'm not saying you have to process this e-mail, but the user could then save it in her/his Outbox, Sent Items or Inbox for later access.

    Maybe that's is more work than Word. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> One advantage of using Word is that you can later automate IE, launch your form, and populate the IE form from the Word form. But that's a bit beyond the scope of your message.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Web Form to Word (Microsoft Word)

    Attached is a procedure and a template (which basically is just the same procedure) that has the user open an HTML form and then tries its best to replicate the INPUT controls of that form in Word. The result is crude because it ignores everything other than form controls. Obviously this could be done in a fancier way, but it was more of a demonstration of mapping the attributes of HTML controls to Word FormFields than anything else.

    In doing this, I discovered (or remembered) quite a few limitations of Word forms. First, Word forms do not have listbox-style controls, only drop-downs, and multi-selecting is not possible. The multi-select controls really should be converted to checkboxes. Second, Word has no radio button controls, although someone posted a macro-based workaround for that recently.

    Maybe this helps anyway?? If you end up revising this in a way that you think might be useful to others, please post the new version.
    Attached Files Attached Files

  4. #4
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    164
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web Form to Word (Microsoft Word)

    Thank you sooo much for the help. I'm going to give this all a look through, and I'll post back with my results. Thanks again!

  5. #5
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    164
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Web Form to Word (Microsoft Word)

    In the meantime, I wanted to get something to give to the staff, while I work on a more robust solution. I was able to copy the form and paste right into Word. It works great. My only question is this. Everytime it opens up, it opens up in design mode. Is it possible to have it not open in that mode? Any help is much appreciated!!

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Web Form to Word (Microsoft Word)

    Whenever there is an ActiveX control in a document, Word seems to display that toolbar and maybe the commands toolbox, too. There are ways to suppress toolbars, but I don't have any experience with this one. You could look for past threads on suppressing the web and reviewing toolbars; perhaps that code could be adapted.

Posting Permissions

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