Create a form on Webserve

Important:
On Webserve, the default version of PHP is 7.1; however, PHP 5.6 will still be available until it is retired at the end of December 2018. Webtest servers are already using PHP 7.1. For help specifying which version of PHP to use, see PHP server-side scripting language.

For information about using HTML to create a web form, consult any good HTML reference book or one of the many HTML tutorials on the web. At Indiana University, you can also explore web development training from UITS IT Training. Alternately, you can use an HTML editing program such as Dreamweaver to create forms. However, not all of the features of such programs are supported on IU's central web server, Webserve.

Once you have created the HTML page containing your form, you can use one of several methods to have the web server process it. If you have an account on Webserve (www.indiana.edu, www.iub.edu, www.iupui.edu, www.iun.edu, www.iue.edu, or www.iuk.edu), you can use the form-handling software Transform. This tool makes it unnecessary to write your own Perl or CGI script, and offers a number of features that enable you to customize your output and handle the data collected by the form. Web Services Support maintains the following helpful documents:

You can also write your own CGI or Perl script to handle the action for your form. For instructions, see About forms and CGI scripts on IU's web server.

You may also be able to create a form and use a mailto: form action statement, although this may not work well with all browsers.

This is document amfv in the Knowledge Base.
Last modified on 2018-07-18 12:12:09.

Contact us

For help or to comment, email the UITS Support Center.