Results 1 to 7 of 7

Thread: getting radio button value problem ?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    46

    getting radio button value problem ?

    hi i have 2
    <input value="1" name="optPhonetic" id="optExact" type="radio" checked="checked" />
    <input value="0" name="optPhonetic" id="optNotExact" type="radio" />

    i am submitting to the other form but i am not able to get the values using

    form("optPhonetic").

    any help is appriciated. thanks

    kanaka
    Kanaka Prasad

  2. #2
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    If you're submitting this to another form, you'd be better off using PHP.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    46
    thanks for the reply. i am using asp.net pages and posting to other page. i donno where i am making mistake where i could able to get all the text, select values on other side.

    thanks
    kanaka
    Kanaka Prasad

  4. #4
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    Could you post your entire form? And the second form?
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    46
    yes i am posting the entire form to the second form.

    thanks
    kanaka
    Kanaka Prasad

  6. #6
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    *sigh*...

    I meant post the code here so we can see it.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  7. #7
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    if your using the post method on the first form then use

    VB Code:
    1. V_optPhonetic = request.form("optPhonetic").

    on the second page. If your using the get method on the first form use.

    VB Code:
    1. V_optPhonetic = request.querystring("optPhonetic").

    on the second page.

Posting Permissions

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



Click Here to Expand Forum to Full Width