Title: Validation of a combobox Post by: sm_79 on August 15, 2014, 03:19:07 PM Hi,
I have a form with a simple combo box like below: Code: <select class="easyui-combobox" data-options="required:true" name="type"> But I want to keep the "Select Type" text and also the validation to work. Please advise. Thank you. Title: Re: Validation of a combobox Post by: stworthy on August 15, 2014, 04:00:29 PM Why append the 'Select Type' item? If you only want to give the user a tip, please set the 'prompt' property instead.
Code: <select class="easyui-combobox" data-options="required:true,prompt:'Select Type',value:''" name="type"> |