Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Checkbox Display as Radio Duplicate ID Error

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 769 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      NOYB
      last edited by

      Using display as radio on form checkbox creates duplicate id error for each option.
      This is because the name is also being used as the id.  The example given by w3schools uses the value as the id, which would eliminate the duplicate id errors.

      w3schools example:
      http://www.w3schools.com/tags/tag_label.asp

      Is this something that could be changed?  Or is there need for the name and id to be the same?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.