|
Welcome to the newMANIC FormHandler "web developers" page
Here is where we offer 2 ASP-driven form processing tools: FormTEST and FormHANDLER3 to assist our student web developers as they learn how to create their first forms. Our processing tools are continually in development so check back periodically for updates :)
- The newMANIC FormTEST: Targets your form for testing how data and values are passed before a form goes live. Using this formTEST allows you to enter data, click "submit" and immediately view the results: Form Tester Example
Apply this absolute path http://www.newmanic.com/formtest.asp to your form: <form method="post" action="http://www.newmanic.com/formtest .asp">
- The newMANIC FormHandler: Quickly gets your form working live on the Internet and passes its values to the email address you specify in one of the predefined hidden values, explained below.
Place the following newMANIC formHandler path to your form: http://www.newmanic.com/formhandler3.asp - it should look like this:
<form method="post" action="http://www.newmanic.com/formhandler3 .asp">
The newMANIC FormHandler will send all your form elements neatly to your email address. Here's a Form Handler Example to get an idea of what to expect from the newMANIC form handler. * Please note, the "EMAIL" (in this example) you'll enter "your own" email address to see for newMANIC formHANDLER results when you visit "your" email agent :)
The newMANIC formhandler3 is built with ASP, and allows you to insert "pre-defined" value to customize your form further!
In order to take advantage of the pre-defined name=values, you will enter form elements that have specific names, to allow the form handler to process your form correctly.
If you use other values for your form elements, the "names" and "values" will be sent as part of your email, separated by a colon.
These "pre-defined" form element values must be spelled precisely for the custom-handling to work properly.
- For instance, if you ask a person's favorite color, and use the following textbox to capture the data: <input type="radio" name="Favorite Color" value="Blue" />
- The information will be sent to your email in the following general format:
Favorite Color: Blue
"pre-defined" values a newMANIC Form uses:
These are used in the "visible" fields of your form:
- To specially handle the users first and last name, insert:
<input type="text" name="FirstName" />
<input type="text" name="LastName" />
- IMPORTANT: The above FirstName and LastName name="value" pairs must be used together or the form won't work correctly. (see next line!)
- HOWEVER, we now offer an alternative to the above. You can now define 1 name field for your audience by using the following instead of the 2 name fields described above. Use this instead: <input type="text" name="FromName" />
- Have your user enter THEIR email so you can easily respond to them via the form email sent to you upon submittal of your form ~ BUT be sure to use some JavaScript to test for an accurate email address ~ because a bad email address will break this form:<input type="text" name="FromEmail" />
These are used in the "hidden" fields of your form:
- To send form results to YOUR email use:
<input type="hidden" name="ToEmail" value="youremailname@youremailserver.com" />
- To specify YOUR name in email, insert (these 2 input fields must be used together):
<input type="hidden" name="ToFirst" value="Your first name" />
<input type="hidden" name="ToLast" value="Your last name" />
- To show a subject line in your email use:
<input type="hidden" name="Subject" value="Your email's subject name" />
- To redirect the user to a "thank you" page upon submit use:
<input type="hidden" name="Thanks" value="http://www.myserver.com/yourthankspage.html" />
Warning - The file path must be written as an "absolute" value (http://domainname, etc.) or this form won't work correctly.
Reminder: these "pre-defined" values must be spelled precisely for the custom handling of these form processing tools to work properly. You can always target the newMANIC formtest tool to test your data and how it's being passed first ... to be sure all is working as you planned.
the newMANIC mantra
"A good web developer is a lazy web developer"
Which means, always copy/paste whenever the opportunity presents itself ...
This methodology saves oodles of time and prevents errors!
Copy/Paste these hidden" input tags into your form ...
<input type="hidden" name="ToEmail" value="___________" />
<input type="hidden" name="ToFirst" value="___________" />
<input type="hidden" name="ToLast" value="__________" />
<input type="hidden" name="Subject" value="_________" />
<input type="hidden" name="Thanks" value="_________" />
|
IMPORTANT STUFF:
- Don't forget to redefine each value="___________" so they'll point to YOUR Email, First and Last Names, Subject and Thanks page.
- Don't forget to create a "thank you" web page , post it to your server and define its absolute path as the value of the "Thanks" hidden field in your form's source code.
*An absolute path means define the 'whole path' to any given web page on the Internet. So start with the protocol of http://... then define the server and any diretories needed to drill down to the actual web page you're trying to call out.)
Good luck and let us know what you'd like to see added to
our free newMANIC FormHandler, in the future :) back to top |