Solved

Form validation in FP XP not working

Posted on 2002-06-16
4
184 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
Comment Utility
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
Comment Utility
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
Comment Utility
by the way, what do u do webwoman?
0
 
LVL 19

Expert Comment

by:webwoman
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
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. …
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now