UK Home Academics Athletics UK's Chandler Medical Center Research Site Index Search UK


     

Back to Web Providers... WEB FORMS WITH ANYFORM

Please Note! In the past AnyForm, running on our server at www.uky.edu, was available for use on pages anywhere on the web. We no longer provide that service and AnyForm is restricted to use at the University of Kentucky. We cannot distribute the code to AnyForm.

If you have pages on a server in the uky.edu domain and the results are delivered to an e-mail address in the uky.edu domain you are supported and no changes are required.

A common requirement for web pages is a form that allows input from the user. This might be to take requests, give exams, or countless other uses. We provide a script called AnyForm to support simple forms that deliver responses via e-mail. We also provide a script called Fileform that supports delivery by e-mail or by writing to a file on the web server.

A SIMPLE FORM

Using AnyForm from your web pages is quite simple - just include HTML like this in the file (note that "youremailaddress@uky.edu" must be replaced by the actual e-mail address that will receive the responses to the form):

  <form action="http://www.uky.edu/AnyFormTurbo/AnyForm.php" method="POST">
  <input type=hidden name="AnyFormTo" value="youremailaddress@uky.edu">
 
  Enter here:
  <input type=text name="Input Field">
 
  <input type=submit value="Submit">
  </form>

It is important to test your page and form before using it in production. While it is possible to allow the users of the page to enter e-mail addresses that AnyForm can use (in AnyFormTo, for example), that is not recommended. There is virtually no error checking and neither you or the users will likely receive any indication of a failure if the address entered is not correct.

SUPPORTED FIELDS

Note that field names are case sensitive!

In addition to the AnyFormTo field, AnyForm also supports AnyFormCC and AnyFormBCC for destination addresses. Any of them will accept a single e-mail address or a list of addresses separated by spaces. All destination addresses must be in the uky.edu domain.

You can use AnyFormFrom to supply a From address. The default is AnyFormProcessor@noreply.uky.edu.

Also available is AnyFormSubject to provide a subject header. The default is "Results of AnyForm Submission".

MORE ON ANYFORM

The original AnyForm was written by John Roberts (johnr@jhu.edu).


This page was last updated on 2004-01-05. Please direct questions and comments regarding this page to webmaster@www.uky.edu.

   


An Equal Opportunity University