[ back to toc ]

cgi form and required fields

Date: 2002/04/07 13:18

Q:
Hello Peter,
How can I make fields within a mailform make required fields?
I am making a form in Adobe GoLive 5.
Thank you.
*NAME-DELETED*
A:
You have to do three things:

1. Write some HTML text near the field telling the user that the field is
required.

2. Write JavaScript into the page that checks that the required fields are
all filled in and tries to prevent the user to submit a page that has not
all required fields filled in.

3. On the server the CGI program has to check that the required fields are
filled.

Regards,
Peter

[ back to toc ]