Solved

FrontPage Textbox validation settings - Whitespace

Posted on 2008-06-10
8
336 Views
Last Modified: 2013-12-24
Hi, I hope someone can help...

I've inserted a text box within a form on a web page (in FrontPage), in order to collect the user's name.

I have applied validation settings to allow a data type of text, and have ticked the boxes to allow both Letters and Whitespace. When testing the form, it could not be submitted until I removed the space between the first and last name, despite the fact that I have specified that Whitespace is allowed.

Does anyone know why?

Thanks

0
Comment
Question by:LSE_IT_Training
  • 5
  • 3
8 Comments
 
LVL 31

Expert Comment

by:James Murrell
ID: 21753159
can you post code here
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 21755444
if it helps i just create a form with text box and have same data type of text, and have ticked the boxes to allow both Letters and Whitespace  as you and all ok
html>
 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>New Page 1</title>

</head>
 

<body>
 

<form method="POST" action="--WEBBOT-SELF--">

	<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->

	<p>

	<!--webbot bot="Validation" S-Display-Name="name" S-Data-Type="String" B-Allow-Letters="TRUE" B-Allow-WhiteSpace="TRUE" -->

	<input type="text" name="T1" size="20"></p>

	<p>&nbsp;</p>

	<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>

</form>
 

</body>
 

</html>

Open in new window

0
 

Author Comment

by:LSE_IT_Training
ID: 21758771
Thanks for the response, the code is below. The text box concerned is the first one - "Your Name". I can't see any difference between your code and this though....

<form method="POST" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1" action="http:NOTE: REMOVED FOR POSTING PURPOSES THOUGH CORRECT">
      <table border="0" width="100%" cellspacing="0" cellpadding="5" id="table1">
            <tr>
                  <td align="right">
                  <p align="right">Your name:</td>
                  <td width="279" colspan="5">
                  &nbsp;<!--webbot bot="Validation" S-Display-Name="Your Name" S-Data-Type="String" B-Allow-Letters="TRUE" B-Allow-WhiteSpace="TRUE" --><input type="text" name="name" size="30"></td>
            </tr>
            <tr>
                  <td align="right">
                  <p align="right">Is this the first FrontPage course you've attended?</td>
                  <td width="279" colspan="5">
                  <input type="radio" value="YES" name="first_course">Yes&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="radio" name="first_course" value="NO" checked>No</td>
            </tr>
            <tr>
                  <td align="right">What was the first FrontPage course you attended?</td>
                  <td width="279" colspan="5">
                  &nbsp;<!--webbot bot="Validation" s-display-name="What first course?" b-value-required="TRUE" b-disallow-first-item="TRUE" --><select size="1" name="what_first_course">
                  <option selected>Please select >>>></option>
                  <option>Not Applicable</option>
                  <option>FrontPage: Introduction</option>
                  <option>FrontPage: Managing Your Website</option>
                  <option>FrontPage: Working With Images</option>
                  </select></td>
            </tr>
            <tr>
                  <td align="right">How would you rate this course so far? [1=very
                  poor, 5 =very good]</td>
                  <td width="56" align="center">
                  &nbsp;<!--webbot bot="Validation" s-display-name="Course Rating" b-value-required="TRUE" --><input type="radio" name="course_rating" value="1"><br>
                  1</td>
                  <td width="56" align="center">
                  <input type="radio" name="course_rating" value="2"><br>
                  2</td>
                  <td width="56" align="center">
                  <input type="radio" name="course_rating" value="3"><br>
                  3</td>
                  <td width="56" align="center">
                  <input type="radio" name="course_rating" value="4"><br>
                  4</td>
                  <td width="55" align="center">
                  <input type="radio" name="course_rating" value="5"><br>
                  5</td>
            </tr>
            <tr>
                  <td>&nbsp;</td>
                  <td width="279" colspan="5">&nbsp;</td>
            </tr>
            <tr>
                  <td>&nbsp;</td>
                  <td width="279" colspan="5">
                  <input type="submit" value="Submit" name="B1"></td>
            </tr>
      </table>
      <p>&nbsp;</p>
      <input type="hidden" name="email_subject" value="FrontPage Course Questionnaire">
      <input type="hidden" name="recipient" value="c.steele">
      <input type="hidden" name="end_of_text" value="eot">
      <input type="hidden" name="tab_format" value="yes">
</form>

0
 
LVL 31

Expert Comment

by:James Murrell
ID: 21758829
works on my server > went to page http:NOTE: REMOVED FOR POSTING PURPOSES THOUGH CORRECT  (so i guess it worked)
on
it nows does to a text file on my system
http://www.websaintstest.co.uk/new_page_2.htm
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 31

Expert Comment

by:James Murrell
ID: 21758837
results are here

*******************************************************************************
name:              James Murrell
first_course:      NO
what_first_course: FrontPage: Managing Your Website
course_rating:     1
B1:                Submit
email_subject:     FrontPage Course Questionnaire
recipient:         c.steele
end_of_text:       eot
tab_format:        yes
0
 

Author Comment

by:LSE_IT_Training
ID: 21759459
Thanks again, it looks like it may be a server issue then. I'll hold back on awarding the points for a day, in case someone else has any ideas.
0
 
LVL 31

Accepted Solution

by:
James Murrell earned 500 total points
ID: 21759511
no worries anything else just contact me
0
 

Author Closing Comment

by:LSE_IT_Training
ID: 31465770
Thanks again.
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
HTML Editor That Indents Code As Illustrated 11 136
Visual Studio Community 2015 vs. Expression Web 4 8 255
online form save filled out 10 51
Collapseable list of URLs. 10 113
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…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. 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 : Open Page or Post…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

910 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

23 Experts available now in Live!

Get 1:1 Help Now