I added a Form in Frontpage 2003 and the input goes into an Access database.
I would like to add a script that displays in real time the number of
characters remaining in a Text box.
I found an example at
http://www.dynamicdrive.com/dynamicindex16/limitinput.htm but I can't
integrate it well in my page because their example speak of: <form
name="sampleform"> while in Frontpage, I don't see a form name, I see this
instead :
<form method="POST" action="--WEBBOT-SELF--" onSubmit="">.

Can you help ?

Re: Displaying characters left in Text box by Thomas

Thomas
Fri Feb 03 09:23:47 CST 2006

If you are using FP Form File Validation, you will also not be able to use any 3rd party script
without some work, which thereafter you will not be able to manage the form field validation via FP.
So you need to consider how import this function really is to the users of your site, as with FP
form field validation you can limit the maximum amount of data that can be inserted.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Jacques" <Jacques@discussions.microsoft.com> wrote in message
news:D95FB943-ED1B-4380-BAE1-ADE31E288F4A@microsoft.com...
>I added a Form in Frontpage 2003 and the input goes into an Access database.
> I would like to add a script that displays in real time the number of
> characters remaining in a Text box.
> I found an example at
> http://www.dynamicdrive.com/dynamicindex16/limitinput.htm but I can't
> integrate it well in my page because their example speak of: <form
> name="sampleform"> while in Frontpage, I don't see a form name, I see this
> instead :
> <form method="POST" action="--WEBBOT-SELF--" onSubmit="">.
>
> Can you help ?
>



Re: Displaying characters left in Text box by Kevin

Kevin
Fri Feb 03 09:27:58 CST 2006

Why don't you give the form a name?

<form name="sampleform" method="POST" action="--WEBBOT-SELF--" onSubmit="">

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"Jacques" <Jacques@discussions.microsoft.com> wrote in message
news:D95FB943-ED1B-4380-BAE1-ADE31E288F4A@microsoft.com...
>I added a Form in Frontpage 2003 and the input goes into an Access
>database.
> I would like to add a script that displays in real time the number of
> characters remaining in a Text box.
> I found an example at
> http://www.dynamicdrive.com/dynamicindex16/limitinput.htm but I can't
> integrate it well in my page because their example speak of: <form
> name="sampleform"> while in Frontpage, I don't see a form name, I see this
> instead :
> <form method="POST" action="--WEBBOT-SELF--" onSubmit="">.
>
> Can you help ?
>



Re: Displaying characters left in Text box by Steve

Steve
Fri Feb 03 09:21:43 CST 2006

Add the name to the opening form tag like this.
<form name="sampleform method="POST" action="--WEBBOT-SELF--" onSubmit="">.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
"Jacques" <Jacques@discussions.microsoft.com> wrote in message
news:D95FB943-ED1B-4380-BAE1-ADE31E288F4A@microsoft.com...
> I added a Form in Frontpage 2003 and the input goes into an Access database.
> I would like to add a script that displays in real time the number of
> characters remaining in a Text box.
> I found an example at
> http://www.dynamicdrive.com/dynamicindex16/limitinput.htm but I can't
> integrate it well in my page because their example speak of: <form
> name="sampleform"> while in Frontpage, I don't see a form name, I see this
> instead :
> <form method="POST" action="--WEBBOT-SELF--" onSubmit="">.
>
> Can you help ?
>



Re: Displaying characters left in Text box by Jacques

Jacques
Sat Feb 04 08:18:41 CST 2006

Your solution worked.
But then I added some text box validation in Frontpage (by doublew clicking
on the text box) and now, if for example, there was : 20 characters left, the
20 doesn;'t decrease as I type in the text box.
Is there a way to have both things at the same time ?

Jacques

"Kevin Spencer" wrote:

> Why don't you give the form a name?
>
> <form name="sampleform" method="POST" action="--WEBBOT-SELF--" onSubmit="">
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> Who is Mighty Abbott?
> A twin turret scalawag.
>
> "Jacques" <Jacques@discussions.microsoft.com> wrote in message
> news:D95FB943-ED1B-4380-BAE1-ADE31E288F4A@microsoft.com...
> >I added a Form in Frontpage 2003 and the input goes into an Access
> >database.
> > I would like to add a script that displays in real time the number of
> > characters remaining in a Text box.
> > I found an example at
> > http://www.dynamicdrive.com/dynamicindex16/limitinput.htm but I can't
> > integrate it well in my page because their example speak of: <form
> > name="sampleform"> while in Frontpage, I don't see a form name, I see this
> > instead :
> > <form method="POST" action="--WEBBOT-SELF--" onSubmit="">.
> >
> > Can you help ?
> >
>
>
>