Solved

Form validation in FP XP not working

Posted on 2002-06-16
4
192 Views
Last Modified: 2013-12-24
i have a text box that i'm trying to make sure has contents before the user clicks submit. i've followed the instruction in FP help, but does not seem to want to work. when i made validation rules, it added this code:

<!--webbot bot="Validation" S-Display-Name="Please enter a value for the subject field." B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="50" -->

i think i'm doing this right, but it's a no go. any ideas?

0
Comment
Question by:dbnewbie
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 50 total points
ID: 7083608
It won't work until it runs through a server that uses FP extensions. You can't check it in FP, that won't do it. You can't use FILE/OPEN on the browser. That won't work either. It MUST run through a server, AND the server MUST have FP extensions.

Easier to use a standard javascript validation routine. That works for mostly everything, with NO server use, NO FP extensions, and NO problems. www.javascriptsource.com has a lot of them. Pick the one that fits your needs and follow the directions. You WILL need to edit the code YOURSELF -- no WYSI(N)WYG editor handles javascript correctly. You can use HTML view in FP, but make sure to follow the instructions as to where to put the code, and it's picky -- case has to be correct, punctuation has to be correct, etc.

But it will work. ;-)
0
 

Author Comment

by:dbnewbie
ID: 7084391
wow -- ur just answering all my questions, aren't u? i just finished giving u points in ASP. anyway, i will try ur suggestion. i thought FP automatically generated the javascript for u. was that in a different version?
0
 

Author Comment

by:dbnewbie
ID: 7084393
by the way, what do u do webwoman?
0
 
LVL 19

Expert Comment

by:webwoman
ID: 7084912
No, FP doesn't generate much client side stuff. Most of it uses FP extensions, so it doesn't work without that.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question