Text Box Validation Acting Wierd

  • Thread starter Thread starter Mikeal
  • Start date Start date
M

Mikeal

I have a form that needs to have certain fields set up
with Validation. I have set some pretty strick validation
on those fields such as:

Data Type = Number
Text Format = Digits
Numeric Format = Decemial, Peroid
Data Length = Reguired (Min Length 1)
Data Value = Field Must Be Greater Then or equal to = 0

The thing that I cannot figure out is that those
validations are applied to the field just following the
one that set them too. I know that this does not make
sense. For example: I have a field named 'MonthlyIncome'
and the next field is named 'Employer'. I apply all the
above validation to the 'MonthlyIncome' field and when I
publish my web site (on a Windows 2000 server with fp2002
extensions installed) and go to fill it out and it has all
of the validation set to 'Employer' not 'MonthlyIncome'
like it should. So if I do not fill in the 'Employer'
field, with numbers only, it will not let me submit it.

I have even looked at the source code of the page from
within internet explorer and it showes that the validation
is set to the 'Employer' NOT 'MonthlyIncome' like I
programmed it to be in FP.

Any seguestions? I am stumped!!

Mikeal
 
URL ?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Thomas,

The url is http://www.mascotfinancial.com/private/form_customer_new.asp
The fields in question are the Co Customer Monthly Income and Employers
Phone Numbers, at the bottom. When you look at the source for this page from
IE it shows that the validation is on the Phone Number but when you say File
Edit with FP and look at the validation it is clearly set to the Monthly
Income, like it should be.

Thanks for looking at this for me,

Mikeal
 
On IE view source and in FP, I only see validation on CustomerEmployerPhone




| Thomas,
|
| The url is http://www.mascotfinancial.com/private/form_customer_new.asp
| The fields in question are the Co Customer Monthly Income and Employers
| Phone Numbers, at the bottom. When you look at the source for this page from
| IE it shows that the validation is on the Phone Number but when you say File
| > Edit with FP and look at the validation it is clearly set to the Monthly
| Income, like it should be.
|
| Thanks for looking at this for me,
|
| Mikeal
|
| | > URL ?
| >
| > --
| >
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, Forums, WebCircle,
| > MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > | > > I have a form that needs to have certain fields set up
| > > with Validation. I have set some pretty strick validation
| > > on those fields such as:
| > >
| > > Data Type = Number
| > > Text Format = Digits
| > > Numeric Format = Decemial, Peroid
| > > Data Length = Reguired (Min Length 1)
| > > Data Value = Field Must Be Greater Then or equal to = 0
| > >
| > > The thing that I cannot figure out is that those
| > > validations are applied to the field just following the
| > > one that set them too. I know that this does not make
| > > sense. For example: I have a field named 'MonthlyIncome'
| > > and the next field is named 'Employer'. I apply all the
| > > above validation to the 'MonthlyIncome' field and when I
| > > publish my web site (on a Windows 2000 server with fp2002
| > > extensions installed) and go to fill it out and it has all
| > > of the validation set to 'Employer' not 'MonthlyIncome'
| > > like it should. So if I do not fill in the 'Employer'
| > > field, with numbers only, it will not let me submit it.
| > >
| > > I have even looked at the source code of the page from
| > > within internet explorer and it showes that the validation
| > > is set to the 'Employer' NOT 'MonthlyIncome' like I
| > > programmed it to be in FP.
| > >
| > > Any seguestions? I am stumped!!
| > >
| > > Mikeal
| >
| >
|
|
 
What happen when you use FP to set all of the field validations?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
It works when I set some type of validation to ALL of the fields. But when I
only have some of them validated, through FP, the validation is all messed
up. It does not validate what you want it to. I have found the it actually
validated the field following the one I set it to.
 
I can not duplicate this, and I have never had this problem when using the
FP Validation function. Just make sure all of your fields are uniquely
named.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Thomas,

I have finally figured out why the validation is not working on certain
fields.
When you open the 'text box properties' there is a place that asks if it is
a
password field. That section has two radio buttons; Yes & No. On the
fields that I have validated the are not working, neither yes or no is
selected.
I have to select No and then it works! Have you ever seen this before? How
would the radio button's default of No go away?

My forms have a total of about 350 fields and so far over 50 of them have
no default on that password field property.

Mikeal
 
See below.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


Mikeal H. said:
Thomas,

I have finally figured out why the validation is not working on certain
fields.
When you open the 'text box properties' there is a place that asks if it is
a
password field. That section has two radio buttons; Yes & No. On the
fields that I have validated the are not working, neither yes or no is
selected.
I have to select No and then it works! Have you ever seen this before? How
would the radio button's default of No go away?

Never seen or had that happen.
My forms have a total of about 350 fields and so far over 50 of them have
no default on that password field property.

When using Access, you limited to about 200 to 255 fields total, or
somewhere there or about at least when attempting to do an update/insert.
Now this could be related to they type of connection used. I don't recall
the actual number but it did happen to me on a project and I use a System
DSN connection.
 
Back
Top