Solved

Form validation in FP XP not working

Posted on 2002-06-16
4
191 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
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 connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …

803 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