Hi,
I would like to use a "Required option" when using "@Html.ComboFor" helper.
I would like a message displaying when the form is submited and no value is selected in the Combo, something working like the validation of the textEditor when the field is required.
There is no "required" option in the combo helper. So How can I achieve this ?
Thanks.
Hi, PEO-Stokomani.
You can use instead the ValidatorOptions wrapper. I hope the code below will help you:
For any further questions about the igCombo you can use the section for the control in our forum. Thank you for using our product!
Best regards,
Nikolay Alipiev
Hi Nikolay,
I have finally tried another approach but your answer is Valid too ;)
Thanks !