Checkbox Validation innside SimpleForm.

Tagged:
  • tedersm
        1 month ago #55111

        Hi Team,

        I´ve created a simpleform in “Screen A” which some Checkbox-Elements innside.
        At the End of the “Screen A”, there is a button which navigates to “Screen B”, if the Validation of Simple-Form on “Sreen A” is succesfull. If its not succesfull, a pop-up message is displayed.

        How is it possible, to validate a Checkbox-Element innside a simple form?
        The Validation of other Widgets (e.g. Text-Input, Mail with Regex) works fine! But with the validation of the checkbox(es) i have Problems.

        Thanks for your Help!

        Armin Winkler
            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)
          1 month ago #55200
          Up
          0
          Down
          ::

          Hi Markus,

           

          how exactly are you performing the input validation inside your SimpleForm? Are you using the validation functionality generated by the App Wizard ‘Form Assistant’ or do you rely on your own implementation? If you are utilizing the former or you have configured the SimpleForm validation via its ‘validate’ property or the submit Button’s ‘validateForms’ property, respectively, there is indeed a small mistake in the current state of our two standard widgets ‘CheckBox’ and ‘SimpleForm’ which I have corrected.

           

          Please import the attached transport file to your Simplifier instance and redeploy your application. Let us know if this fixes your problem. If so, we can merge the changes into our Standard Content package available as download from the Marketplace in a future content update.

           

          Thank you and kind regards,

           

          Armin

          • This reply was modified 1 month ago by Armin Winkler.
          Attachments:
          You must be logged in to view attached files.
          tedersm
              1 month ago #55244
              Up
              0
              Down
              ::

              Hi Armin,

              thanks for your Response!
              I´m using the Validation innside the simpleForm via the Submit-Buttons “validate Forms” property.

              I imported your file – it works better now, but not perfect.
              When i select the checkbox & click on Submit, it works fine!
              If the checbox is not selected and i click on submit, an alert “Message” pops up, that the checkbox have to be selected. If I then select the checkbo, the error message including pop-up still appears. It seems as if the checkbox or the form does not recognize the change in the selection?

              Attachments:
              You must be logged in to view attached files.
              Sarah Werner
                  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)
                1 month ago #55304
                Up
                0
                Down
                ::

                Hi Markus,

                thanks for your feedback!

                Please follow these further steps:

                1. Go to the “selected” property of the Checkbox
                2. Open the “Property Validation” Dialog via the small helmet button next to the property
                3. Set “Validation” to true, choose “Boolean” as Data Type and “select” as event
                4. Redeploy and try again.

                Does this behavior match your expectations?

                Kind regards

                Sarah

                tedersm
                    1 month ago #55342
                    Up
                    0
                    Down
                    ::

                    Hi Sarah,

                    thanks for you Response – it works perfect now! 🙂

                    Best Regards,

                    Markus

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

                  You must be logged in to reply to this topic.