Skip to Content

Multiple Input Validations

Hello communites,

hope you all are well I have one req. in my app like that i have taken 200+ diff diff inputs on one view, and i have taken a button and on that btn click i want an empty field validations, on all the inputs.

if i go by single by single if else then it will be so long code so is there any another way to validate multiple 200+ empty field inputs on a single button click, is there any way then please help if you have any code then please share.

Thanks in Advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Feb 04, 2019 at 03:36 PM

    Aside from the obvious problem with having 200+ fields on a single screen I wrote a blog on how to handle this sort of validation a while ago form validation in UI5.

    Add a comment
    10|10000 characters needed characters exceeded

    • your blog is v.good it helped me sol.1 is not possible and other 2 are requires the fields that


      because in this way it shows " * " on all the labels and that doesnt looks fine so is there any way to validate all the inputs in a single function click event

  • Posted on Feb 04, 2019 at 08:42 AM

    200+ input fields on a single application?
    I sense a different issue than the check here: what's about UX and usability??

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 02, 2019 at 06:26 PM

    Hi Harshil,

    You can do it many ways.. by getting a IDs or looping through the agrreagation and check for all the controls if they are mandatory or not OR

    You can simple use the below open source library to validate your UI for mandatory checks which will make your development very easy



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.