Use AnyBoard to process arbitrary web forms--Form Mail


Posted by support , Apr 29,2000,22:59 Post Reply   Main Forum
You may have used the script formmail.pl which can process a html form and send the result to an email address, and there is another script that can handle uploading of files to web server. AnyBoard's Form Mail function can do all these and more.

This is how you do it
1) In your forum admin panel, choose configure->Form Mail, and do the following
a) check the "Enable web form processing" box
b) enter the email address of the recipient of the results, multiple addresses can be entered
c) If the forms can have file upload fields, set the directory to store those files.

2) Write your form page as usual. The form can contain any form elements, such as checkbox, textarea, file, etc.

3) Set the form to use AnyBoard as processor
a) set the ACTIOn of the form to
http://your-domain/your-cgi-dir/anyboard.cgi/board_vpath/
for example:
http://anyboard.net/cgi-bin/anyboard.cgi/netbula/support

b) add a hidden field to the form
<input type="hidden" name="cmd" value="procform">

4) additional hidden fields that can be added
a) abf_required_fields
names of the required fields separated by space

b) abf_subject
The subject of the email sent

c) abf_require_admin
If set, only forum admin can submit the form

c) abf_cc_registered_user
If set, the email will be CC to the user, if he is registered and logged in.




--modified by support at Sat, Apr 29, 2000, 23:00:20

Edit Post Reply Recommend Current pageAuthor Profile