Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member VegaLA's Avatar
    Join Date
    May 2004
    Posts
    70
    Member #
    6035
    Hi all,
    I have a webpage that returns a record
    for the user to edit with. All the fields display the correct information for that record...except for the radio buttons. They appear blank ! I have bound them to the correct field from the correct recordset and have used the Dynamic button at the button to ensure they are looking at the right fields but still no joy. I double checked that the entry that is displayed actually has a value in the radio buttona nd it does. Testing the results from the recordset also confirms that in this pareticular record some radio buttons are -1 and other 0 but when I preview the page all the radio buttons are blank.
    Is there anything i'm missing ?

    Thanks in advance,
    Mitch....

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Can you post the code, or a copy of it with any private info replaced with dummy info?
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com

  4. #3
    Member VegaLA's Avatar
    Join Date
    May 2004
    Posts
    70
    Member #
    6035
    Sure... here you go....

    <input type="radio" name="projector" value="<%= Abs((rstEdBook.Fields.Item("Projector").Value)) %>"> </td>
    <td>
    <input <%If (CStr((rstEdBook.Fields.Item("Laptop").Value)) = CStr("laptop")) Then Response.Write("CHECKED") : Response.Write("")%> name="laptop" type="radio" value="laptop"></td>
    <td>
    <input <%If (CStr((rstEdBook.Fields.Item("Network").Value)) = CStr("network")) Then Response.Write("CHECKED") : Response.Write("")%> type="radio" name="network" value="network"> </td>
    <td>&nbsp;</td>

    Hope that makes sense ?

    Mitch...

  5. #4
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,657
    Member #
    1234
    Liked
    138 times
    Not sure myself
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at houseofhelp.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com