do not allow without key term selection

Issue #18 resolved
Ali Hürriyetoglu repo owner created an issue

A user should not be able to continue without selecting a key term. Check what happens if they do not choose a key term. Moreover, if a user receive a filter name should be unique error, the selection of the key term should remain obligatory.

Comments (6)

  1. Aslıhan ARSLAN

    I delete this line from the getfiltersteps.html page. So the keyword selected as a default.

    <option value="" selected="selected">Select Keyword</option>

  2. Ali Hürriyetoglu reporter
    • changed status to open

    Please do a radio button for the options. Otherwise the selection is too implicit, it can be overlooked easily.

  3. Erkan Başar

    Please also try using 'required' tag at the end of the related 'select' html tag. When you used 'required' option, it should give an error when the users try to continue with an empty value.

    So it should be look like this in the getfiltersteps.html;

    <select class='form-control' name='keywordlist' required>
    

    And if the users do not select any option yet, the default should return an empty object. This can be done by adding the following line back (notice that 'value' is empty);

    <option value="" selected="selected">Select Keyword</option>
    
  4. Log in to comment