View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
All below is possible in MSIE 5.0 and higher versions of Microsoft browser (part of it works even in Mozilla and Opera)

1) Use behaviors (only Microsoft) example:
<input type="text" value="" style="behavior:url(">

Source for
<PUBLIC:COMPONENT lightWeight="true">

<PUBLIC:ATTACH EVENT="onblur" ONEVENT="checkN()"/>
<PUBLIC:ATTACH EVENT="onfocus" ONEVENT="doFocus()"/>

function doFocus(){
function checkN(){
if (element.value.length==0) return;
if (!r.test(element.value)){
alert("Date format is YYYY.MM.DD")
return false;
return true;

2) Try to use onkeydown event (see )
3) Yes
<div style="position:absolute;left:20;right:20:width:3;height:100;border-left:solid 2 black;"></div>
4) Yes
<table style="border:solid 2 black;">
<tr><td>Cell 1</td><td>Cell 2</td></tr>

Sent by Alan Harris-Reid on 11/15/2001 01:35:10 PM:
A few HTML questions...

1. Is there any way I can control the input mask of a textbox so that the value is in dd/mm/yy format?  As far as I can see it is treated as a character string and the user can enter anything.  It's a pain to have to validate every date field when the form is posted before it can be processed as a date value.

2. Is there any way of ensuring that pressing the enter key moves the focus from one textbox to another (ie. behaves as the tab key)?

3. Is there any way of drawing a vertical line in HTML?

4. I would like to show an outer border for a table, but no borders between cells in the tabel.  Is this possible?

Alan Harris-Reid