We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to use form validator with Comboxbox, Autocomplete, checkbox, radiobutton, date-picker, drop-down-list, etc

Well, I think it worth having some samples on how to use FormValidator with every user input component.

7 Replies

GG Gopi Govindasamy Syncfusion Team April 19, 2019 06:34 AM UTC

Hi Davi Daniel Siepmann,  

We have prepared sample based on your requirement to use form validator to validate the form component(ComboBox, DropDownList, AutoComplete, CheckBox, DatePicker, RadioButton). We have provided form validation to validate the form components. Please find the sample and UG document for your reference.  




Regards, 
Gopi G. 



DD Davi Daniel Siepmann April 22, 2019 12:10 PM UTC

Thank you so much, appreciate that!


PO Prince Oliver Syncfusion Team April 22, 2019 12:25 PM UTC

Hello Davi, 

Most Welcome. We are glad to help you. 

Regards, 
Prince 



DD Davi Daniel Siepmann April 25, 2019 05:05 PM UTC

We're about to use Texarea, but there's no example on how to use it with form validator, could you advice us, please? Thank you !


AB Ashokkumar Balasubramanian Syncfusion Team April 26, 2019 11:22 AM UTC

Hi Davi, 
 
As per your request, we have prepared the sample for form validation in TextArea component. Please find below code block and updated sample. 
 
<div class="form-group" style="padding-top: 11px;"> 
<label>TextArea</label> 
<div> 
<textarea id="textarea" name="textarea" data-required-message="* Please enter the value" required data-msg-containerid="textareaError"></textarea> 
</div> 
<div id="textareaError"></div> 
</div> 
 
 
Regards, 
Ashokkumar B. 



DD Davi Daniel Siepmann April 26, 2019 12:58 PM UTC

You guys are fast as a rocket, thanks!

Just one thing, we came from realizing we can use TextBox with a <textarea> element, it's something new right ?

Anyway, I think we're good to go now.

Have a wonderful week all of you.


PO Prince Oliver Syncfusion Team April 29, 2019 05:26 AM UTC

Hello Davi, 

You are most welcome and thank you for the valuable feedback. Yes, you could use <textarea> element with TextBox control for multiline. Kindly refer to following links 


Hope you had a great weekend. 

Regards, 
Prince 


Loader.
Live Chat Icon For mobile
Up arrow icon