XModPro

validate change on dropdown value selected

Paul Buckley Paul Buckley asked Sep 7, 2015
Active Nov 27 · Viewed 2365 times
<p>I am trying to validate that the dropdown box has been&nbsp;changed. example&nbsp;value 1 ="N/A". &nbsp;2="NY"</p><p>I have several dropdowns that must be validated as changed on form.</p><p>I tried this but creates error, can anyone help please.</p><p>&lt;Validate type="compare" target="ddSitencr" comparevalue="1" datatype="integer" Operator="GreaterThan" message="Site not selected." /&gt;</p><p><strong>Update&nbsp;</strong></p><p>this is what im trying to to validate that a dropdown value has been selected not left as is.</p><p> &lt;DropDownList Id="ddfe" Width="155" DataField="Name" DataSourceId="dsInitiate" DataTextField="Username" DataValueField="Username" DataType="string"&gt;&lt;/DropDownList&gt;</p><p>&lt;validate type="text" message="You must select a name"/&gt;</p>

2 Answers

Loading answers...