The forms in DBMan are created by a combination of subroutines, mostly in the html.pl file.
Take a look at sub html_add_form. You will see the beginning of a form:
Code:
<form action="$db_script_url" method="POST">
<input type=hidden name="db" value="$db_setup">
<input type=hidden name="uid" value="$db_uid">
and the end of a form
Code:
<INPUT TYPE="SUBMIT" NAME="add_record" VALUE="Add Record">
<INPUT TYPE="RESET" VALUE="Reset Form"></center></p>
</form>
The middle of the form is taken care of by the line
Code:
&html_record_form (&get_defaults);
To find out what's in there, go to sub html_record_form.
You'll see a series on input fields in a table, each one with a name that matches a database field from the .cfg file.
If you have altered the .cfg file to include the fields you want, but have not yet edited the html.pl file, you can still see the forms that apply to your database by setting
$db_auto_generate = 1;
in the .cfg file. Then run DBMan, go to the add form and take a look at the source code for your browser. You'll get all the info you need for how to build a form on an outside page.
------------------
JPD