What's the best approach for adding a new form to dbman -- work out a fix in html.pl or modify db.cgi.
Here's what's desired. I want to create a new form which a user will fill out and then the contents of this form will be mailed to a given recipient. I can do all of this in html and bypass dbman altogether except I need the email address from the dbman records.
So when a user clicks on a link, they will be given a screen form to complete and this is emailed to the email field in dbman. I've got everything figured out, tested and so on except getting the email field from dbman into the form. What my question really concerns is should I setup another sub in html.pl like add, modify, etc. or should I use an existing sub and modify it with a flag of some kind. The only field being accessed from dbman is the email field. There is no writing to dbman.
Here's what's desired. I want to create a new form which a user will fill out and then the contents of this form will be mailed to a given recipient. I can do all of this in html and bypass dbman altogether except I need the email address from the dbman records.
So when a user clicks on a link, they will be given a screen form to complete and this is emailed to the email field in dbman. I've got everything figured out, tested and so on except getting the email field from dbman into the form. What my question really concerns is should I setup another sub in html.pl like add, modify, etc. or should I use an existing sub and modify it with a flag of some kind. The only field being accessed from dbman is the email field. There is no writing to dbman.