I encountered a situation today where I had a form with some embedded <br> tags, expressed as "<br/>" (that is, no space before the "/>") and the form fields stopped showing up, giving "NO SUCH FORM FIELD" errors on submit. Putting the space back in ("<br />") made them work again.
Here's the actual form section:
<div id="loginform">
<form method="post" name="loginform" action="">
<h3>ARINC Direct Login</h3>
<br/>
<strong>User ID</strong><br/>
<input name="username" id="username" type="text" style="width:80%;"><br/>
<strong>Password</strong><br/>
<input name="password" type="password" style="width:80%;"><br/>
<div id="buttonbar">
<input value="Login" name="login" class="button" type="submit">
</div>
</form>
<script language="_javascript_">document.getElementById("username").focus();</script>
</div>
Using this form, the username and password fields don't show up in showforms--only the submit button does. I have read that XHTML allows the no-space-before form, but the compatibility appendix recommends the space so as not to break nonconforming browsers.
Is twill "nonconforming" in this way? We'll go back and put the space in just to be safe, but is there an option to tell twill to be more liberal in what it accepts?
Thanks, and
Cheers!
--
David Hancock | [EMAIL PROTECTED] | 410-266-4384
_______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
