[ic] Form mail with Interchange

Paul Jordan interchange-users@interchange.redhat.com
Thu Feb 7 12:36:01 2002


>
> I'm interested to include a form information request page , using
> interchange
> could some one send me a sample to start ?


If you just want the info emailed to you, then you can use a standard
formmail script.  Do a www search for FormMail. You will prob find Matt
Wrights site, which you can download the scripts and directions. It is very
easy and works within IC, but you will need to have a cgi-bin.

If you want the info written to a database, check out the archives. You will
either want to add a field to userdb, or make another table all together,
depending on whether or not you want people to be logged in (for ID). Then
it is a simple as writting a standard form (<input...> etc) If you want to
find out how you can get an IC page to wrtie to a DB, look at the code of a
page that already does. I suggest copy the code of maybe account.html, or
newaccount.html into a new txt file (copy), then strip away the extra code
(<td...> <img src...>) and look at the IC header and input tags. It should
be self explanitory.

Paul