Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2004
    Posts
    65

    Post Create then print a form?

    Hi all,
    I need to create some forms that users will access in the AMS project. I would like for the users to be able to fill out the form while open in AMS and then print it to the default printer setup on their system...

    Can anyone suggest the best way to go about this?

    Would/Can I actually create the form in AMS, or am I better to insert one I have created in Word or whatever?

    The biggest thing wuld be to allow them to fill it out within the runing AMS app..

    Any help much appreciated
    cheers and regards
    Rossco

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    You can use any "outside" program while AMS is running, so word or whatever is ok.
    You could also use a webobject inside AMS, or a flash object (check components in Flash8).
    Last, but not least, you could have a form built in AMS (with Input objects) and assign each input field to a variable (or even better an element in a table) and then insert these variables in a predefined text file or such (replace strings in that text with your variables).

    Good luck

    Yossi

  3. #3
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    If you know Flash it might work to make templates in Flash then pass the form values to those. I've not done that so I'm not sure how tricky it is, but it's definitely do-able. The advantage there being that Flash is vector so it prints sharp.

    You could do the same thing with HTML pages too, i.e. create print template pages and just pass the values at runtime...

  4. #4
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Quote Originally Posted by Rossco
    Hi all,
    I need to create some forms that users will access in the AMS project. I would like for the users to be able to fill out the form while open in AMS and then print it to the default printer setup on their system...

    Can anyone suggest the best way to go about this?

    Would/Can I actually create the form in AMS, or am I better to insert one I have created in Word or whatever?

    The biggest thing wuld be to allow them to fill it out within the runing AMS app..

    Any help much appreciated
    cheers and regards
    Rossco

    Ross,

    You can do this, definitely..all within AMS.

    First, all forms fields entry will use INPUT objects in an AMS page.

    Once user submitted, the fields ( variables with values ) are transfered to create an HTML page using Text.WriteFromString action.

    The user is then transfered ( using Page.Jump ) to the page that contains a WebObject which loads the just created HTML page by calling WebLoad action.

    The user can then print the HTML page from the AMS app.

    Please check-out a good example of this in www.amsuser.com . The example shows how to create certificate from form input. Great stuff this.

    In another example which I made, is using one HUGEEEEEEE ..... input object for making HTML pages. It is called myHTML.apz ... which uses the same concept I've explained.

    NOTE: Result of Printing from HTML pages may differ from desktop to desktop and really depends on users' IE settings. ( ahemm !! AMS doesn't offer print function yet .... ).
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  5. #5
    Join Date
    Aug 2004
    Posts
    65

    Thumbs up

    Quote Originally Posted by azmanar
    Ross,

    You can do this, definitely..all within AMS.

    First, all forms fields entry will use INPUT objects in an AMS page.

    Once user submitted, the fields ( variables with values ) are transfered to create an HTML page using Text.WriteFromString action.

    The user is then transfered ( using Page.Jump ) to the page that contains a WebObject which loads the just created HTML page by calling WebLoad action.

    The user can then print the HTML page from the AMS app.

    Please check-out a good example of this in www.amsuser.com . The example shows how to create certificate from form input. Great stuff this.

    In another example which I made, is using one HUGEEEEEEE ..... input object for making HTML pages. It is called myHTML.apz ... which uses the same concept I've explained.

    NOTE: Result of Printing from HTML pages may differ from desktop to desktop and really depends on users' IE settings. ( ahemm !! AMS doesn't offer print function yet .... ).
    Wow!,
    you people are amazing!! thanks all for your ideas, Corey/YosiK, the one I can get my head around at the mo is azmanar's, so will check that option out for now. I do have Flash but can't use it yet, so that is a definate for the future

    thanks a bunch for your help

Similar Threads

  1. Create and Print XML or HTM
    By markstaylor in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 10-26-2004, 06:00 AM
  2. how do I create a form in auto play
    By edandel in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 10-19-2004, 11:06 AM
  3. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  4. HOWTO: Create a Page Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-26-2002, 05:20 AM
  5. HOWTO: Create Nested Shortcuts in the Start Menu
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-24-2002, 10:26 AM

Posting Permissions

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