Solved

Form validation in FP XP not working

Posted on 2002-06-16
4
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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 …
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
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…

707 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