Changes

Template:CFComboBoxBP

458 bytes added, 16:22, 1 March 2016
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; ..."
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;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
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.
2,004
edits