Solved

Form validation in FP XP not working

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Resizing code128 barcode using cold fusion 14 154
Google forms auto fill based on text entered. 3 114
graphic software 6 89
Add server behaviors to Dreamweaver CC 2015 2 130
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…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

920 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

15 Experts available now in Live!

Get 1:1 Help Now