==== User story
//As a voter, I should be able to rank candidates as per my choice in the voting UI for a Single Transferable vote.//
==== Tentative mockMock
{F34450344, width=200}|Normal|Missing preferences error state|Duplicate preferences error state|
|---|---|---|
|{F34469851,width=200}|{F34469854,width=200}|{F34469857,width=200}|
==== Acceptance criteria
* Different voters should be shown candidateoptions in different, randomized orders in a dropdown UI. The order of candidates should be consistent throughout the voting form.
** The order should also be consistent if the form is submitted and the page is reloaded due to an error.
* Default selected preference is "Select a candidate"an option". This string is translatable.
* Voters should be able to sequentially rank the candidatesoptions in their order of preference. For example, a voter can select their first, second and third preference but cannot select their first and third preference only. This would result in an error with the message: //All p//Preferences must be selected in sequential order.// // (See mock for details)
* No candidateoption can be selected twice. If a candidaten option is selected twice this should result in an error and the form should not submit. The form data will not be lost. Error message: //CandidateOptions cannot ben’t be selected multiple times in thewhen ranking.//
* Voters do not need to mandatorily rank all candidatesoptions. They may rank as many candidates as they wish (minimum one).
==== Note
We'll tackle the disabled options in the dropdowns in a follow-up task.