Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    64
    Plugin Contributions
    0

    Default Radio Button requirement

    We have several products that come with certain configurations (4 configurations and a n/a). I don't want to have a selection default to any radio button, but I still require one button to be selected. Upon adding to cart, if there is a missing selection, the customer needs to be informed. Please refer to the link below for more detail.

    http://www.sunbustersonline.com/inde...roducts_id=187

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Radio Button requirement

    You have to have a default in order to be sure of having a selection.

    The thing to do is make another value for that option name called "Select" or whatever. In Attributes Controller, add "Select" and make it default and display only.

    Then customers will be forced to make a conscious selection.

  3. #3
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Radio Button requirement

    In your attribute controller, just select which radio button you want selected by default.

  4. #4
    Join Date
    Dec 2007
    Posts
    64
    Plugin Contributions
    0

    Default Re: Radio Button requirement

    Thanks,

    That did the trick. It works perfectly.


  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Radio Button requirement

    If you want to get even smoother in your display, every input button has its own id and can be addressed individually in the stylesheet.

    Add this to your stylesheet to hide the top radiobuttons, keaving only the "please select" message:
    Code:
    input#attrib-23-105, input#attrib-24-103, input#attrib-25-101 {
        display: none;
        }
    This will apply to those particular attributes on every product where they appear.
    You can look up other radiobutton ids in view source or with the Firefox Web Developer "Display Element Information" tool.

 

 

Similar Threads

  1. GV radio button
    By g_force in forum Managing Customers and Orders
    Replies: 0
    Last Post: 21 Oct 2009, 10:16 PM
  2. Radio Button in Columns???
    By VonCooke in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 22 Mar 2008, 04:55 PM
  3. Replacing option radio button with "Buy Now" button
    By GavCaz in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 31 Aug 2007, 10:17 PM
  4. Radio button options
    By portchey in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Aug 2007, 07:38 PM
  5. 1 item radio button
    By dannyd in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 20 Feb 2007, 03:20 PM

Posting Permissions

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