Difference between revisions of "Template:CFComboBoxBP"

From SmartWiki
Jump to: navigation, search
(Created page with "Best practice when creating a combo box with a '''--Select One--''', use store-value=display value syntax with a space as the stored value: <pre style="white-space: pre-wrap; ...")
 
Line 6: Line 6:
 
  word-wrap: break-word;">=--Select One--;Option 1;Option 2</pre>
 
  word-wrap: break-word;">=--Select One--;Option 1;Option 2</pre>
  
This ensures that the database won't store '''--Select One--''' which may cause security issues based on specific security settings.
+
This ensures that the database won't store the value '''"--Select One--"''' which may cause security issues based on specific security settings.

Revision as of 14:22, 1 March 2016

Best practice when creating a combo box with a --Select One--, use store-value=display value syntax with a space as the stored value:

=--Select One--;Option 1;Option 2

This ensures that the database won't store the value "--Select One--" which may cause security issues based on specific security settings.