i have drop down list which filling from custome table but i want to put -select- as initial value also that when in dropdown not selected any value just showing -select- at that time validation required page cannot save invalid option
Adjust you SQL that gets options for drop down from custom table to look like this:
null as itemId,
'select' as ItemName
and mark the field as required
Please, sign in to be able to submit a new answer.