How apply this method select option than submit submit must not apply without choose any option | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How apply this method select option than submit submit must not apply without choose any option

3rd May 2020, 5:15 AM
Arun
Arun - avatar
2 Answers
0
first off let's define the select as <select name="category" required> the first option is value="" <option value="">select</option> not value=" " example in the code https://code.sololearn.com/WAwcrS8rJj4r/?ref=app
3rd May 2020, 5:35 AM
BroFar
BroFar - avatar