| Using control chars as constraints in form validation |
|
 |
Index ‹ frontpage-client
|
- Previous
- 3
- Offensive Guestbook EntriesHi,
I've recently designed a website for a local cricket club which includes a
guestbook.
My problem is that the guestbook is attracting offensive posts. I don't
suppose there is much I can do about it apart from regularly checking the
site and deleting the posts.
Just thought I'd better ask the experts before I resign myself to this fact.
Thanks for any advice.
Regards,
Sonars UK
- 3
- Linking FrontPage to a DatabaseI'm trying to connect a database to the web. "Database"
is not an option in my "Insert" menu. Neither is "Web
Settings" in my "Tools" menu.
Help?
Jonathan
- 3
- Link Bars don't workI just don't get it. My link bars where working fine and
now don't seem to respond. These bars where based on
Navigation...and as a theme. Any suggestions ? I have
deleted them and then reinstalled....cant seem to get it
to recognize the structure
- 3
- I see icon instead of photogalleryI built a photogallery that shows perfectly in FrontPage and in the browser
previews but when I upload it to be live on the internet all I can see are
icons rather than the photogallery. I can click on the icons and see the
photo. www.ceramicsinthecity.com (photogallery is in "Idea Book".)
What am I doing wrong?
- 6
- BackGound color based on matching valuesHello,
I have a crosstab query that I eventually convert to a web page. My question
is that is it possible to have the background of a cell changed to a certain
color if there is a matching value for that row. for instance if there is
more than one "Bob Jones" in a row. I would like the background of that cell
to be RED. Any help would be appreciated.
Chris
- 7
- Happy New Year..... to all who post, help, hang out, or just lurk and learn.
Best wishes for a happy, healthful and successful 2006.
For Mr. Gates and Co. Thanks for providing us with this platform for
exchanging knowledge and ideas.
Cross posted, with follow ups set to microsoft.public.frontpage.client
For those who just lurk, feel free to join in.
You never know, "what you might know" that someone else doesn't
;-)
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
- 10
- FrontPage - add ability to wrap tag around selected text.I thought this was going to be going to the Microsoft FrontPage development
team as it said "post a suggestion" . . hhhmmm, not exactly what I expected
being posted to a discussion group . . . oh, well.
In FrontPage 2000 there was a plug-in that added a new button bar that,
among other things, enabled one to select text and then click a "wrap tag"
button that would let you wrap a tag around text. For example, you could
wrap a <span> tag around the text you selected. Instead, I now have to go to
the code to do this.
- 13
- system exception: access deniedContact you host to repair your permissions, site & the FP SE
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"LESD" <email***@***.com> wrote in message news:edc301c382d3$84e33920$email***@***.com...
| I try to publish to the web and get this message "system
| exception: access denied" I may have accidently deleted
| files from the server that begin with "Stats"
- 13
- Usage Reports - Function not finding my log filesI'm using FP 2003 on a Win 2003 server, usage reports are turned on and set
to run daily... but when I try to look at reports, it cannot find any data.
IIS Properties show that file are being stored in the logfiles folder under
windows/system32 ... they appear to be running daily
Whey can't I get FP to generate reports? How can I show it where the files
are?
- 14
- adding a video clip in Frontpage 2003I am trying to add a video clip. When I go to insert - picture - video, the
video icon is dark and not accessible (you can't click on it and go anywhere.
Help.
The video clip that I want to add is in avi extension - is there a best
format for this.
- 15
- 15
- ASP UPDATE problem..Big Clue foundI did some more tinkering, like reducing all the fields down to one - no
change.
Hardcoded a String to stuff in a field - no change....
THEN hardcoded the RecordNumber to Update - Bingo!! - the variable
::xrecnbr:: Must not have a value.
It should be passed from "update3.asp" in the POST.
Update3.txt is attached to see if one of you super MVP's can find the
answer.
"Frank Smith" <email***@***.com> wrote in message
news:eTZR1s%email***@***.com...
> Nope.
> I have the forms and the DB on two different hosting services FP server
> and
> neither update the DB.
> No error messages generated and no updates posted.
> The code is attached "updatef.txt"
>
> Weird to say the least
>
>
> "Kathleen Anderson [MVP - FrontPage]" <email***@***.com> wrote in
> message news:OJO$FN%email***@***.com...
>> Is it working on your live site?
>>
>> --
>>
>> ~ Kathleen Anderson
>> Microsoft MVP - FrontPage
>> Spider Web Woman Designs
>> web: http://www.spiderwebwoman.com/resources/
>>
>>
>>
>>
>> "Frank Smith" <email***@***.com> wrote in message
>> news:e0$email***@***.com...
>>>I do my coding on my machine then publish and see if all works, so I
>>>guess
>>>I can stay with XP Home.
>>> I am baffled by the non-updating of the DB, this is not rocket science
>>> stuff, just a simple update.
>>>
>>>
>>> "Kathleen Anderson [MVP - FrontPage]" <email***@***.com> wrote in
>>> message news:email***@***.com...
>>>> Yes, for this to work on your PC, you need to be running Windows XP Pro
>>>> and IIS.
>>>>
>>>> --
>>>>
>>>> ~ Kathleen Anderson
>>>> Microsoft MVP - FrontPage
>>>> Spider Web Woman Designs
>>>> web: http://www.spiderwebwoman.com/resources/
>>>>
>>>>
>>>>
>>>>
>>>> "Frank Smith" <email***@***.com> wrote in message
>>>> news:email***@***.com...
>>>>> Stupid question time - do I need Windows XP Pro for these pages?
>>>>> I have XP Home.
>>>>>
>>>>> "Frank Smith" <email***@***.com> wrote in message
>>>>> news:email***@***.com...
>>>>>> Thanks
>>>>>> I must be getting far tooooooo old for this stuff.
>>>>>>
>>>>>> Your SQL looks like mine - But does verify/no errors
>>>>>> With no error messages, the sequence from sched2.asp ->
>>>>>> update3.asp ->
>>>>>> updatef.asp just does not update the DB - no changes ever posted.
>>>>>> schedule.mdb has permissions of R/W/E "for the world" so that is not
>>>>>> an
>>>>>> issue.
>>>>>>
>>>>>>
>>>>>> "Kathleen Anderson [MVP - FrontPage]" <email***@***.com> wrote
>>>>>> in message news:email***@***.com...
>>>>>>> Frank:
>>>>>>> This is the SQL from the web I created with the restructured
>>>>>>> database:
>>>>>>>
>>>>>>> s-sql="UPDATE schedule SET xdate = '::xdate::' , DISPATCHER =
>>>>>>> '::DISPATCHER::' , PHONE = '::PHONE::' , AMCREW = '::AMCREW::' ,
>>>>>>> PMCREW = '::PMCREW::' , AMTOW = '::AMTOW::' , PMTOW = '::PMTOW::' ,
>>>>>>> INSTRUCTOR = '::INSTRUCTOR::' , ipilot = '::ipilot::' , instruct2 =
>>>>>>> '::instruct2::' , crew3 = '::crew3::' , crew4 = '::crew4::' WHERE
>>>>>>> (xrecnbr = ::xrecnbr::)"
>>>>>>>
>>>>>>> It looks pretty much like yours and it does update the database.
>>>>>>>
>>>>>>> --
>>>>>>> ~ Kathleen Anderson
>>>>>>> Microsoft MVP - FrontPage
>>>>>>> Spider Web Woman Designs
>>>>>>> web: http://www.spiderwebwoman.com/resources/
>>>>>>>
>>>>>>>
>>>>>>> "Frank Smith" <email***@***.com> wrote in message
>>>>>>> news:email***@***.com...
>>>>>>>> For years things have been fine - and now, not so good.
>>>>>>>>
>>>>>>>> A page passes a Parameter (xrecnbr) to the page "Update3.asp" (txt
>>>>>>>> attached) where the record contents are displayed for User editing.
>>>>>>>> This page shows the correct record.
>>>>>>>> On POST "updatef.asp" is called to do the DB changes - except
>>>>>>>> nothing
>>>>>>>> happens, no changes.
>>>>>>>>
>>>>>>>> UPDATE schedule SET
>>>>>>>> xdate='::xdate::',dispatcher='::dispatcher::',phone='::phone::',
>>>>>>>> amcrew='::amcrew::',pmcrew='::pmcrew::',
>>>>>>>> crew3='::crew3::',crew4='::crew4::',amtow='::amtow::',pmtow='::pmtow::',
>>>>>>>> instructor='::instructor::',ipilot='::ipilot::',instruct2='::instruct2::'
>>>>>>>> WHERE (xrecnbr=::xrecnbr::)
>>>>>>>>
>>>>>>>> After going to FP2003, the above SQL UPDATE "contains an error" --
>>>>>>>> I
>>>>>>>> sure cannot see it.
>>>>>>>> IF I remove all the fields except one, the string Validates.
>>>>>>>>
>>>>>>>> Any ideas?
>>>>>>>>
>>>>>>>> Note for Kathleen if you see this, new DB structure being used
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
>
- 15
- If I have corrupt files...How can I correct this and/or stop it from continuing?...
I don't know how long this is going on, might only be a
few days, since I started messing around and bouncing back
and forth between FTP extensions and FP extensions, or
maybe it's been happening for a while, I don't know, but
my broken hyperlinks list seems to be growing daily which
means that there's something, a bug, or corruption that is
possibly taking over all of my Excel files that were then
converted to HTML...
Here is the first 3 lines of code at the beginning of
virtually all of these files now:
--------------------------------------------------
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
------------------------------------------------------
then we have a blank line, followed by 7 lines of code,
the last 3 (after the meta lines) seem to be disturbing to
me:
-------------------------------------------------------
<head>
<meta http-equiv=Content-Type content="text/html;
charset=windows-1252">
<meta name=ProgId content=FrontPage.Editor.Document>
<meta name=Generator content="Microsoft FrontPage 5.0">
<link rel=File-List href="./5-
20_Bulls_at_Gab_files/filelist.xml">
<link rel=Edit-Time-Data href="./5-
20_Bulls_at_Gab_files/editdata.mso">
<link rel=OLE-Object-Data href="./5-
20_Bulls_at_Gab_files/oledata.mso">
----------------------------------------------
Then there are hundreds of lines of grayed-out code that
appears to be xml code, mso code...
Am I in trouble here?...Is my site in trouble?...I have
over 4000 pages on my site, I don't want to lose pages by
the hundreds on a daily basis, I need to stop whatever is
happening IMMEDIATELY...
Is the corruption eminating from my hard-drive or
server?...
I need to stop this and correct this and fix this
immediately, can anybody recognize what might be happening
here?...
Thanx...
Steve
- 16
- Q: What's a blog and why would I want one?TF
--
________________________________________
Whoa! Look at my cool sig line. Sweet!
And my modeling website: www.tforward.com
________________________________________
- 16
- Photo Gallery edit?Does anyone know how to edit the pages created by the Photo Gallery
component, horizontal layout? Specifically, the page that comes up to
display the full size image after you click on one of the thumbnails from
the gallery. The program automatically creates a white background and
aligns the image on the left. I would like to edit the page to match the
rest of the site I am building. This would save me a lot time, otherwise I
will have to build separate pages for all 80 images on this site. Thanks!!
|
| Author |
Message |
Philip Wasson

|
Posted: 2003-9-13 4:30:04 |
Top |
frontpage-client, Using control chars as constraints in form validation
Is there a way to use control chars as constraints in form
validation? I want to prevent CR/LF from being entered in
a form field.
|
| |
|
| |
 |
Cowboy (Gregory A Beamer)

|
Posted: 2003-9-13 4:41:00 |
Top |
frontpage-client >> Using control chars as constraints in form validation
Yes, you can use JavaScript to grab the keystroke and ignore ASCII 10 and
ASCII 13. You can also write a script that strips them when place in. It
depends on the goal.
--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA
**********************************************************************
Think outside the box!
**********************************************************************
"Philip Wasson" <pwasson@teledas.com> wrote in message
news:04d701c3796c$a610bed0$a101280a@phx.gbl...
> Is there a way to use control chars as constraints in form
> validation? I want to prevent CR/LF from being entered in
> a form field.
|
| |
|
| |
 |
| |
 |
Index ‹ frontpage-client |
- Next
- 1
- Dynamically Creating repeating tables with ASP and CSSHi All,
I am generating a series of tables in CSS. The tables should repeat
themselves for a number of times governed by a counter that is
calculated at runtime by the ASP code. The problem is that I have used
top margins to position the tables in the ASP page.
So the tables when repeated super-impose on the tables that are
already placed at that margin position. Can someone suggest me a
better way out to resolve this?
Thanks,
Sundar
- 2
- FrontPage Error when submitting form to emailAnyone know why I get a FrontPage Error when I click submit on a form that is
suppose to send results to an email address.
SMTP is loaded and working. We did test this.
Nothing really in the application log that it says to look at.
Any advice would be appreciated.
--
Thanks,
Zam
- 3
- Eression web - server extensionsHi
I have a number of sites (all made with FP) some are on a linux server (asp)
and other on a a non asp server.
Does expresion web need asp server extentions or will it run on a non asp
sever.
Thank you
--
Wayne
Manchester, England.
- 4
- Frames - Left Nav and Top NavI apologize for the basic nature of this question :)
I am looking to purchase FrontPage to develop a very simple website for my
company.
Does Frontpage make it easy to develop a home page that has a Frame on the
left and on top with the middle being the text pages? For example, on the
left, I will have 5 menus, when you click on a menu it loads a specific page
into the center section. I want to have the left and top not refresh and
just load the appropriate page.
Does Frontpage have a wizard for this? Or can you do this through a non
coding method?
Thanks
Michel
- 5
- Word Art hyperlinkingsuggest you copy the word art to a image editor, convert/save as jpg/gif and
insert that into your web document then link to the image - word art not
displayed/supported by netscape browsers.
"Mel" <email***@***.com> wrote in message
news:email***@***.com...
> I have some word art in my website and in FrontPage, the hyperlink works fine,
but it doesn't work when it's published on the web. Must have something to do
with the word art...any ideas?
- 6
- Problem with forms submitI've built a website that has a list of events and I've used a form for each
event for folks to sign up. When they fill in the form and hit the sign up
button, it writes their information to the end of an html file that can then
be displayed.
Most everyone has no problems but occasionally, when someone hits the sign
up button, they get an Authentication Required box (username and password). I
don't have any authentication set up. This only happens when they hit the
form submit button and they can see any page with no problems.
Any ideas on what's going on here?
Thanks for your help.
- 7
- Front Page InquiryI've created a webpage at www.mountainclothiers.net and although it usually
looks good...sometimes it acts pretty fishy. In normal view and sometimes
even in preview in front page, the jpg that I used for a watermark background
extends beyond the margins of the page and looks like it's starting the first
couple of inches of a new page on both the right side and the bottom
margin....and sometimes it looks fine. That's the weird part.
--
I''m a newby and appreciate all assistance offered. Thank You.
- 8
- Space between string responsesIt is possible to put a space between 2 fields (sorry about the access
phrases - not sure what you call them in FP)
Like this
Group leader = , <% Response.Write strGroupLeader_FirstName %> <%
Response.Write strGroupLeader_Surname %>
The space would go between
%> <%
So you could have John Smith - at the moment I am getting JohnSmith
I have tried " ", &, plus just leaveing a space. Not working.
Thank you
--
Wayne
Manchester, England.
- 9
- Defining words in the text (the way FP 2003 Help does)When you go to FP help, the definitions for a word is accessible with a
mouseclick. It inserts the definition into the original text, then removes
it with a subsequent mouseclick. When I checked the properties, it read,
"javascript:AppendPopup(this,'ofparameter_3')"
I couldn't find a way to view the source. Does anyone know what this is
called and/or how to do it?
It also has a function that reads "Show All" which reveals all definitions.
(I tried using the popup message in the behaviors pane, but it's too
intrusive)
I spent two hours trying to find a post on this subject. If this topic has
been covered, please let me know.
- 10
- Adding a 'photo gallery'?Up until now in FP 2000 I've added photos by what I suppose is a
fairly pedestrian method. I just make tables and drag smallish images
or thumbnails across to the cells. I link the thumbnails to larger
versions of the images, and rely on users clicking a thumbnail and
then returning by using the back button. Here's an example from my
home site:
http://dspace.dial.pipex.com/terrypin/Walks/TP04/walkphotos04.htm
But what more effective ways are there to manage pictures please? I'm
thinking of something like the 'gallery' arrangement at this page
http://www.thamespathproject.co.uk/cgi-bin/disp_event_details.asp?Stage=1&page=0
where the first thumbnail links to this photo
http://www.thamespathproject.co.uk/cgi-bin/disp_photo_large.asp?pic=14
but then you can browse through the rest. And there's a caption too,
which my method doesn't have.
Any suggestions would be appreciated please. What methods do other
more experienced FP users adopt?
--
Terry, West Sussex, UK
- 11
- Table of Contents problem Front Page 2002I need a TofC by category. I categorized each page in my website into 4
different category headings.
But when I generate the TofC, there is only a list of the pages. None are
categorized.
So what am I missing here? I'm using Front Page 2002 and my site is hosted
by Earthlink, using extensions.
- 12
- Image Link Border Around Image
I have added a hyperlink to an image. A border has been created
around the image the same color as the hyperlinks in the page.
How do I remove this border link around the image?
Thanks
- 13
- 14
- trying to view the design of aspx files in frontpage. Ideas?I am using front page to update content on web pages. The files have been
written in asp.net and have aspx extentsions. When I try to open the file
using Frontpage, I don't see anything in the Design mode. I only see the
code. Is there a special configuration I have to do to see the page design?
Help!!!
- 15
- table's wont hold sizeI have a database that presents results in table that I
have formatted. The problem is when someone enters data
into a text box, the text will not wrap it will push the
table all the way to the right. It totally screws up the
look of the page. How can I get the tables to stay still?
|
|
|