Office of Information Technology
WMU Home About WMU Academics Admissions Student Life Alumni and Friends
   

WMU > OIT > Help Desk > Web

WMU-Specific GFORM Syntax (www.wmich.edu server)

Below is the proper GFORM syntax specific to WMU online forms as of August 17, 2003.

gform reply=

syntax has changed; new syntax is:
gform reply="~username/directory/filename.html"
where username is your account login username (not your URL), directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name

gform nonull=

syntax has changed; new syntax is:
gform nonull="name" nullerror="~username/directory/filename.html"
where name is the name of your required field, username is your account login username (not your URL), directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name
Note: use your account login username and not the URL name

gform deliver=mail

syntax did not change; syntax is:
gform deliver=mail "email-address@location"

where email-address@location is the specific address you want the e-mail delivered

gform deliver=file

syntax has changed; new syntax is:
For files you want to be browsable by anyone
gform deliver=file "~username/directory/filename.html"
where username is your account login username (not your URL), directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name
The URL to browse the file would be:
http://www.wmich.edu/user/gformdata/directory/filename.html
where user is your specific URL, directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name

For files you do not want to be browsable
gform deliver=file "~username/private/directory/filename.html"
where username is your account login username (not your URL), directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name
These files would not be browsable by anyone, including you, as owner of the file.
To access these files via FTP, the directory specification would be:
www.wmich.edu/user/gformdata/private/directory/filename.html
where user is your specific URL, directory (used only if you don't want the file in the default area) is the location of the file and filename.html is your specific file name

gform password protected pages

If you are using gform with an online form where any of the following pages/files for that form are in a password protected directory:

  • the online form page
  • a page used in a gform reply= command
  • a page used in a gform nonull = "variable name" nullerror=command

Then you must allow the Web server account www-cgi access via your x.htsecure file. Please obtain a new version of that file by following instructions found on Password Protecting Web Pages on www.wmich.edu.

 

 
Office of Information Technology, Western Michigan University, Kalamazoo, Michigan, 49008-5206
Phone (269) 387-5430 |
Contact OIT | Last Updated: February 29, 2008
Report Copyright Infringements
Western Michigan University Student Information System Western Michigan University