Required validation Usage

  • Geetansh
        5 years ago #16524

        Hi Team,

        I am using an input field and making it required field by checking the ‘required’ option in properties panel. But the validation is not functioning as desired and user is able to able to submit form even if the required field is not filled.

        Can you please share some examples of usage on how we can achieve this.

         

        Regards,

        Geetansh Arora

        Attachments:
        You must be logged in to view attached files.
        Mathieu Roll
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          5 years ago #16542
          Up
          0
          Down
          ::

          Hello,

           

          as you can find in the UI5 Documentation the required flag by the input is just for accessibility purposes and dosn’t affect your application logic.

          So you have to check the field within process designer to find out if its filled.

          https://openui5.hana.ondemand.com/#/api/sap.m.Input

          required
          boolean
          false
          Indicates that user input is required. This property is only needed for accessibility purposes when a single relationship between the field and a label (see aggregation labelFor of sap.m.Label) cannot be established (e.g. one label should label multiple fields).

           

        Viewing 2 posts - 1 through 2 (of 2 total)

        You must be logged in to reply to this topic.