PDA

View Full Version : ordered list?..help please with my form layout


vijk2001
09-12-2002, 06:48 PM
Hi i have this requirement
On my HTML form i have a field and this field can have 5 values, depicted as five checkboxes just below the field all of which are on seperate rows.
and have values A/B/C/D/E after the checkboxes.

Incoming Message:
checkbox 1 type-A
checkbox 2 type-B
checkbox 3 type-C
checkbox 4 type-D
checkbox 5 type-D

Seems trivial but how can i do this ...?...
Waiting
Vij

Mr J
09-12-2002, 07:25 PM
You may have to be more specific about your requirements.




<form name=f1>
<input type="text" name=t1>
<P><input type="checkbox" name="c1" value="A" onmouseup="document.f1.t1.value=this.value"> A
<input type="checkbox" name="c2" value="B" onmouseup="document.f1.t1.value=this.value"> B
<input type="checkbox" name="c3" value="C" onmouseup="document.f1.t1.value=this.value"> C
<input type="checkbox" name="c4" value="D" onmouseup="document.f1.t1.value=this.value"> D
<input type="checkbox" name="c5" value="E" onmouseup="document.f1.t1.value=this.value"> E

<P><input type="radio" name="r1" value="A" onmouseup="document.f1.t1.value=this.value"> A
<input type="radio" name="r1" value="B" onmouseup="document.f1.t1.value=this.value"> B
<input type="radio" name="r1" value="C" onmouseup="document.f1.t1.value=this.value"> C
<input type="radio" name="r1" value="D" onmouseup="document.f1.t1.value=this.value"> D
<input type="radio" name="r1" value="E" onmouseup="document.f1.t1.value=this.value"> E

vijk2001
09-12-2002, 07:49 PM
Specifically i need the following . PLs do advise..as the code which u supplied does not work like i need it and hence providing more specifcs.
Its a text label(only a label) with 5 checkboxes below.

<<<<<<<<.......BEGIN FORMAT.............>>>>>>>>>>>>>>>>

Input message types:
(checkbox here)- MSG TYPE A
(checkbox here)- MSG TYPE B
(checkbox here)- MSG TYPE C
(checkbox here)- MSG TYPE D
(checkbox here)- MSG TYPE E

<<<<<<<<............END FORMAT......>>>>>>>>>>>>>>>>

Name of my form is FORM1.
Regards
Vij

Mr J
09-12-2002, 08:39 PM
:confused:

Maybe not specific enough.

:confused:



Do you mean just like this:


TEXT LABEL
<P><input type="checkbox" name="c1" value="A"> A
<P><input type="checkbox" name="c2" value="B"> B
<P><input type="checkbox" name="c3" value="C"> C
<P><input type="checkbox" name="c4" value="D"> D
<P><input type="checkbox" name="c5" value="E"> E