unique Number

R

Randell Guilbeau

I am trying to add a unique Identifier to a form. The form needs to generate
a unique number everytime the form is submitted via email

The General Idea is to have the customer fill out the form----the form
confimation page will give the customer a unique RMA number and the form will
email the same number to us......

is that possible or am I grasping straws?
 
M

Mike Mueller

Do you want a pattern to this unique ID or just some random
number or adding onto an existing RMA# structure?
Are you just going to use email the RMA information?

Some options to generate serialized #s would be to use
functions such as date or time.
If you databased the info also, you could use an autonumber
from the database on the confirmation page

"Randell Guilbeau" <Randell
(e-mail address removed)> wrote in message
:I am trying to add a unique Identifier to a form. The form
needs to generate
: a unique number everytime the form is submitted via email
:
: The General Idea is to have the customer fill out the
form----the form
: confimation page will give the customer a unique RMA
number and the form will
: email the same number to us......
:
: is that possible or am I grasping straws?
 
R

Randell Guilbeau

Mike,
I am thinking that and sequence would work...
to start at the number one and working up from there would sufice

The results would need to be displayed to the customer on their Confimation
page and emailed to me....I would rather it wasn't in a Db for security
reasons.

I am guessing this code would need to be written in the form page and
carried over to the conf. page. Is it possible to add it to the hidden
fields? I could add a Name and value that generated the number...therefore
taking care of both ends....I have never used the hidden fields so I am
clueless on what to do.

Thank you
Randell
 
M

MD Websunlimited

Hi Randell,

Using an autonumber field will work to create the sequence number. You can return the number to a page using FP but you'll have to
code to get it to email it to the client and yourself.
 
R

Ronx

The number generator would have to be server-side, not on the client.
Different clients would generate different, or, worse, duplicate sequences
of numbers.
Any sequence based on date/time generated by the client would depend on the
clients' system clocks' accuracy and time zone.
A custom written form-handler will be needed using whatever server-side
language your host supports.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top