Greetings of the day!
I am new to PHP & working on a project. What my senior had asked to do is to , creat a drop down menu. I did the same. And just below of drop down menu there is a Text Box, where user can write there queries. Now what they want is that, user must have to select a category otherwise he/she should not be able to write in the box below.
like this :-
<select name="field" id="field" size="1"> <option>--------Select Field--------</option> <option>Theatre</option> <option>Painting</option> <option>Dance</option> <option>Architecture/Sculpture</option> </select>
<textarea name="query" cols="50" rows="5" id="query" lang="MUST" title="Query" > </textarea>
Now it should be a must for user to select a category then only he/she would be able to write in the box below.
Please help me in this regard.
Thanks & Regards