NetForms 2.5 User's Guide

Creating A Response File


A Response file can be created to provide feedback to the author after they have entered an article. It might say:

    Thank You!

    Thank you for contributing to this server. You may now
    Return to Our Home Page or Review Your Article.

The underlined portions would be linked to the appropriate places. The text and format of the response file is entirely up to you.

In the earlier RESPONSE directive example, we used the example:

    <RESPONSE>"/Feedback/Response.html"</RESPONSE>

This command points to response file "/Feedback/Response.html." The Response file for the above example would look like this:

    <HTML>
    <HEAD>
    <TITLE>Thank You!</TITLE>
    </HEAD>

    <BODY>
    <H1>Thank You!</H1>

    Thank You for contributing to this server. You may now
    <A HREF="/default.html"> Return to Our Home Page</A> or
    <A HREF="<HTMLFILENAME>"> Review Your Article</A>

    </BODY>
    </HTML>

The response file can include any insertion commands (REPLACE, BULLET, etc.) allowed in the FDML file. Directives (CREATEDOC, MENUDOC, etc.), of course, cannot be included, because in most cases this wouldn't make any sense. If you want to include directives in your response page, you probably need to look into using the CHAIN directive to allow multiple FDML files to process the incoming data.

By allowing commands in the response file, you can give the user immediate feedback on the text that they entered. This will allow you to personalize the responses by echoing data back to the user, and can also be used as a way for users to preview their documents before they are permanently submitted.


[ Previous | Table Of Contents | Next ]

Copyright © 1996-8 Maxum Development Corporation
820 South Bartlett Road - Suite 104
Streamwood, IL 60107
http://www.maxum.com/