Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ordered list?..help please with my form layout

    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
    vijay...life is awesome!

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    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


  • #3
    New Coder
    Join Date
    Aug 2002
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    specifics

    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
    vijay...life is awesome!

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts


    Maybe not specific enough.





    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



  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •