|
FrontPage Setting the default Scripting Client
This thread used the reference @
http://support.microsoft.com/default.aspx?scid=kb;en-us;219135&Product=fp2000
From Forum @
http://www.frontpagewiz.com/forum/forum_posts.asp?TID=14&PN=1
>>Using FrontPage 2003 - How can I make
a field on a form a
>>required field?
>>
>>--Steve
>-----Original Message-----
>Double click the field, select validate.
>
>>--Bill
Bill,
Thanks for the reply. One thing
though... when the user fails to enter information into the required
field, he/she gets a message indicating that they need to do so.
Plus a link is provided to take them back to the form. But the form
is totally cleared so they'd have to fill the entire form out
again. Is there a way to take them back to the form will all
previously filled out field info still there?
--Steve
FrontPage uses JavaScript validation.
This doesn’t allow a submit until the
form is filled in correctly.
An alert popup box is displayed (grey
box).
Hence, none of the form fields will be
cleared.
The “focus” (the cursor) is automatic
centered on the form field.
One other note: Only one form should be
on the page, unless they are
in Frames or Iframes.
I believe what you are saying but it
isn't working that way. If I fill in all the form fields EXCEPT the
only one that is required, I get a window that appears which has a link
to take me back to the form. When I get back to the form, all fields
have been cleared.
Here's a screen shot of the window I'm
talking about...

Then, when I click on the link I
get... (all fields cleared)

A picture is worth a thousand words,
they say!!Backup your web or
try this on a test web, good fundamentals.
Open the web that contains the page
that uses form field validation.
On the Tools menu, click Web Settings
or Site Settings, depending on which version of FrontPage you have.

Click the Advanced Tab.
Under default scripting language,
select JavaScript (this is the default, somebody must have changed
this) from the Client list.

Click OK.
If you are prompted to recalculate
hyperlinks, click Yes.
You can also use a cookie or session to store form fields.
More Info on cookies:
http://www.drclue.net/F1.cgi/HTML/COOKIES/COOKIES.html
ASP Sessions, ASP Cookies
http://www.w3schools.com/asp/asp_sessions.asp
|