Forms with arrays
I use a form that has several list fields, and the selections are populated through arrays.
Is it correct to assume that in order to have the users responses posted back to me, I need to have a database folder in the root or housed with the server?
If so, is there some way of coding the select fields to avoid this?
Thanks for any help. :confused:
If you do not want to have the info emailed to you in this manner you will have to use a server-side language.
I'd be happy to have the form submitted an posted back to me in the manner you mentioned. Are there any tutorials that you know of that would show me how to accomplish having the users choices from select lists that are populated through arrays posted back to me?
Thanks for your response.
Sure, the key is to set up your form tag correctly:
<form method="post" action="mailto:firstname.lastname@example.org" enctype="text/plain">
Of course you would replace all the xxx stuff with the email address you would like to send to. Upon subbmission, the data that was entered into the form and seleceted by the user will be emailed to you.
For a full blown tutorial see:
Dang, he beat me to it. I always recommend that tutorial.
Anyway post back if you run into any problems. If you do, you might find it easier to just post the whole email as John Krutsch suggested: