Topic: input/check boxes and nn4.x Pages that link to <a href="https://ozoneasylum.com/backlink?for=10606" title="Pages that link to Topic: input/check boxes and nn4.x" rel="nofollow" >Topic: input/check boxes and nn4.x\

 
Author Thread
wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 09-25-2001 23:47 Edit Quote

Does nn4.x allow this following piece of code? more specifically should it be showing the checkbox? I was using the <span> to sort of set the inline spacing using position, but when I wrap the checkbox or text box in this I don't get the accompanying input box.

<span class=check1>Head <INPUT type="checkbox" name="EPigHead" value="yes"></span>

just want to make sure I was not missing something obvious, and would be able to blame my problems on nn and not myself for not knowing how to get around my problem.

thanks

wcr one

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

IP logged posted posted 09-26-2001 06:54 Edit Quote

Do you have <FORM> tag defined around that? If you don't, you should add it, like this:

<form><span class=check1>Head <input type="checkbox" name="EPigHead" value="yes"></span></form>


Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 09-26-2001 17:11 Edit Quote

If that isn't the answer it may be useful if you posted a link to where you have the code (or give a bigger code snippet).

Emps

wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 09-26-2001 17:12 Edit Quote

I have a form tag that encompasses a number of text and checkboxes:

<form action ="SetVar.cfm" target="_parent" method="post" name="Selection">
many checkboxes and text input boxes
</form>

everything looks fine in ie, but nn4.75 doesn't show the input boxes.

wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 09-26-2001 18:17 Edit Quote

I don't have it on a server yet as it is still in the early stages, but here is the gist of the code. I am finding that my position tags are not working as hoped with nn either and may have to find another way to display the input boxes effeciently, but anyhoo......

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Meristic Search Criteria</title>
<style>
.egg {font: 10pt arial; position: relative; top: 20;}
.larv {font: 10pt arial; position: relative; top: 60;}
.secthead {font: bold 12pt arial;}
.sectsub {font: bold 11pt arial; position: relative; left:5;}
.sectsubr1 {font: bold 11pt arial; position: absolute; left: 250; top:82;}
.sectsubr2 {font: bold 11pt arial; position: absolute; left: 250; top:142;}
.sectsubr3 {font: bold 11pt arial; position: absolute; left: 250; top:202;}
.sectsubrbod {position: absolute; left: 245;}
.inline1 {position:relative; left:5;}
.inline2 {position:relative; left:15;}
.inline3 {position:relative; left:25;}
.inline3 {position:relative; left:35;}
.check1 {position: absolute; left:15;}
.check2 {position: absolute; left:115;}
.check3 {position: absolute; left:215;}
.check4 {position: absolute; left:315;}
.bottom {position: relative; top: 100}
</style>
</head>
<form action ="SetVar.cfm" target="_parent" method="post" name="Selection">
<body>
<div class=egg>
<div class=secthead>EGG IDENTIFICATION</div>
<span class=inline1>Egg Diameter <INPUT type="text" name="EggDiam" size="5" maxlength="4"></span>
<span class=inline2>Number of Oil Globules <INPUT type="text" name="GlobNum" size="5" maxlength="4"></span>
<span class=inline3>Oil Globule Diameter <INPUT type="text" name="GlobDiam" size="5" maxlength="4"></span>
<p>
<div class=sectsub>Egg/Embryo Pigmentation (check if present):</div>
<span class=check1>Head <INPUT type="checkbox" name="EPigHead" value="yes"></span>
<span class=check2>Jaw <INPUT type="checkbox" name="EPigJaw" value="yes"></span>
<span class=check3>Nape <INPUT type="checkbox" name="EPigNape" value="yes"></span>
<span class=check4>Gut <INPUT type="checkbox" name="EPigGut" value="yes"></span>
<br>
<span class=check1>Yolk <INPUT type="checkbox" name="EPigYolk" value="yes"></span>
<span class=check2>Dorsal <INPUT type="checkbox" name="EPigDors" value="yes"></span>
<span class=check3>Lateral <INPUT type="checkbox" name="EPigLat" value="yes"></span>
<span class=check4>Ventral <INPUT type="checkbox" name="EPigVent" value="yes"></span>
<br>
<span class=check1>Anus <INPUT type="checkbox" name="EPigAnus" value="yes"></span>
<span class=check2>Finfold <INPUT type="checkbox" name="EPigFinfold" value="yes"></span>
<span class=check3>Urostyle <INPUT type="checkbox" name="EPigUro" value="yes"></span>
<span class=check4>Oil Globule <INPUT type="checkbox" name="OilGlob" value="yes"></span>
</div>
.
.
more of the same
.
.
.
.
<div class=bottom>
<INPUT type="submit" name="selection" value="search">
</div>
</body>
</form>
</html>




[This message has been edited by wcr one (edited 09-26-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

IP logged posted posted 09-26-2001 19:21 Edit Quote

Apparently Shitscape doesn't like your <SPAN> tags. Put all form elements in a table instead...

wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 09-26-2001 22:26 Edit Quote

ah well, I was afraid of that. thanks anyways.

hlaford
Bipolar (III) Inmate

From: USA! USA! USA!
Insane since: Oct 2001

IP logged posted posted 10-03-2001 22:41 Edit Quote

NN4 will not let you break forms across absolutely positioned elements. All elements must be inside the same container with the form. You could try using distinct forms for user input and use a form with hidden fields to perform the actual submit.

wcr one
Paranoid (IV) Inmate

From: seattle
Insane since: Mar 2001

IP logged posted posted 10-04-2001 00:07 Edit Quote

interesting. I needed to keep away from using tables for position/juxtaposition, and am a bit dissapointed with this. thanks for the info hlaford.





Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu