If you need to develop an electronic form to send information by email you can use the Form Mail CGI tool developed by the WDT.
Any webpage in the University can use this tool. You can develop your electronic form using any HTML editor. The following instructions describe how to use the ckFormMail CGI tool.
The action parameter of your form most point to "http://www.uprm.edu/app/ckformmail.php" and the method parameter must be "post".
Example of the Form tag:
<form action="http://www.uprm.edu/app/ckformmail.php" method="post">
You must include a series of hidden tags inside your HTML form to configure the form mail tool.
mailto
|
The "mailto" hidden tag contains the email address where you want the information to be send. It must be an email address inside the UPRM.edu domain. It must be one email only.
<input type="hidden" name="mailto" value="wmaster@uprm.edu">
|
subject
|
The "subject" hidden tag contains the email subject.
<input type="hidden" name="subject" value="My electronic form">
|
msgreply
|
The "msgreply" hidden tag contains short text message that the user will see when the form is submitted.
<input type="hidden" name="msgreply" value="Gracias">
|
msgtitle
|
The "msgtitle" hidden tag contains title of the web page returned after the user submits the form.
<input type="hidden" name="msgtitle" value="Cuestionario">
|
redirect
|
The optional "redirect" hidden tag when used contains an absolute URL to which the user will be redirected when the form is submitted.
<input type="hidden" name="redirect" value="http://mysite.edu/thanks.html">
|
emailfrom
|
The optional "emailfrom" hidden tag when used contains the name of the form field with the email of the user. When used the form and reply-to headers of the email message will have the value that the user entered in the form.
<input type="hidden" name="emailfrom" value="fldemail">
In the above example we assume that we have a field in our form named "fldemail" where the user must enter a valid email address.
|
emailreplyto
|
The optional "emailreplyto" hidden tag when used contains an email address representing the email's "reply to" address.
<input type="hidden" name="emailreplyto" value="wmaster@uprm.edu">
|
|
|
If you do not want the submit button to appear in the email, your submit button must be named "submit".
|