Differences

This shows you the differences between two versions of the page.

Link to this comparison view

silver_catalyst:custom_fields [2011/10/13 09:47]
admin created
silver_catalyst:custom_fields [2012/03/26 08:18] (current)
admin Updated the part on option fields
Line 23: Line 23:
   * **Integer**. Like the text field, but the input is validated to check that it is an integer   * **Integer**. Like the text field, but the input is validated to check that it is an integer
   * **Date**. You will get a date picker where you can select a date value   * **Date**. You will get a date picker where you can select a date value
-  * **Options**. You will get a drop down to select one from a set of fixed options. When you select this type, the Options field below will activate allowing you to specify the options.+  * **Options**. You will get a drop down to select one from a set of fixed options. When you select this type, the field below will activate allowing you to specify the options.
  
-When you set the type of the field to Options, you will be able to set the options in the next field. Just enter the option values, separated by Commas. Do not leave any spaces before or after the comma. The first option is selected by default, so put the most common choice there.+===== More on Options Fields =====
  
-&lt;WRAP tip>;Sometimes you want an options field to be unsetie: no value. You can do that by starting the options list with a comma. This will create an &quot;empty&quot; option that you can select. For exampleif you set the options as &quot;,Customer A,Customer B&quot(note the starting comma) then you will get a drop down with 3 values - Empty, Customer ACustomer B</WRAP>+{{:silver_catalyst:customfields_2_1.png?nolink&amp;|}} 
 + 
 +When you set the type of the field to Optionsyou will be able to set the options in the next field. Just enter the option value, and click the green + icon to add more options. You can click the X icon if you want to remove an option. 
 + 
 +&lt;WRAP tip&gt;The first option is selected by default when adding new cardsso put the most common choice there.&lt;/WRAP&gt; 
 + 
 +You can choose a colour for the option. Just click on a colour option to select it. If you do that, the option will be displayed on the card with the selected background colour. If you click the X box for the colourthen the tool will automatically compute a colour based on the value. 
  
 ===== Editing and Deleting Fields ===== ===== Editing and Deleting Fields =====