3 Replies Latest reply on Jan 7, 2010 10:53 AM by trouty

    Radio button problem

    trouty

      Title

      Radio button problem

      Post

      Can anyone tell me how I set up a yes / no radio button field so that as a new record is created, the radio button is set automatically to no?

       

      Any suggestions much appreciated

       

       

      Trouty

        • 1. Re: Radio button problem
          ninja
            

          Howdy trouty,

           

          Make a custom value list (File>Manage>ValueLists) with values of Yes and No.

          Place the field on your layout, set it to the radio button form and check to use this value list.

          Then have your field set up (File>Manage>Database) to autoenter "No" on creation.

          • 2. Re: Radio button problem
            shudder
              

            In File / Manage / Database... select your field and click the Options button, and under the Auto-Enter tab click the "Data:" checkbox and enter the word "No" in the adjacent field (sans quotes of course).  Thereafter, all new records created will have the value "No" in them, and as long as your radio button value is also "No", then it will be checked (and you will be able to manually change it to "Yes" if you want).  Wall-Ah.

             

            - Michael 

             

            == EDIT ==

            Ninja beat me to it, but I'll leave mine as it explains the Options thing. 

            • 3. Re: Radio button problem
              trouty
                

              Many thanks Ninja and Shudder - that works a treat.

               

              Trouty