Solved

FrontPage Textbox validation settings - Whitespace

Posted on 2008-06-10
8
352 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
[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
  • 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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
 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Fix Column Width 7 210
Google forms auto fill based on text entered. 3 124
How do I bind my model the view. 7 61
How to capture emails for mailing list in WordPress 3 65
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.
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
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…
The purpose of this video is to demonstrate how to Import and export files in 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 : Click on Too…

749 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