Click to See Complete Forum and Search --> : Java help! FORM Elements


pscwoden
11-22-2003, 06:52 PM
(Novice) I've been building a FORM for users to submit, via EMAIL, certain information. All FORM elements are working fine, but I need 2 extra steps, which i cannot find anywhere, to finish off the project.

1. Need to generate a UNIQUE REFERENCE number, to include in and on each submission. This is to allow future referencing to in any correspondence (aka Receipt Number).

2. How do you enable multiple EMAIL SUBMITS. My form allows for one email (mine) address, I'd like to C.C. the SUBMITTER a copy of all the FORM data that has just been submitted.

pscwoden@nex.net.au

pscwoden
11-22-2003, 06:54 PM
Hope somebody can help- me.

ray326
11-23-2003, 01:09 PM
1. You can use Javascript in an onsubmit() handler for the form to generate an id based on the current (browser) time and storing it in a hidden field in the form.

2. The simple mailto: action does not support this AFAIK. To do this you'll have to submit the form to a server-side handler that can format and mail the results as needed.