Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    Bug: Back-end name input field validation don't work.

    Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor)
    2
    9
    336
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thomas D last edited by

      Validation settings are not remembered.

      https://imgur.com/a/g8aumTU

      1 Reply Last reply Reply Quote 0
      • T
        Thomas D last edited by

        Checkbox field validation and drop-down validation doesn't work either.

        These issues are all on the Cloud back-end inputs.

        1 Reply Last reply Reply Quote 0
        • T
          Thomas D last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • T
            Thomas D last edited by

            Ah, the issue is that parameters have to be bound or validation won't work.

            There's no way to force country selection though...

            1 Reply Last reply Reply Quote 0
            • Joseph Benguira
              Joseph Benguira last edited by

              Indeed on cloud backend fields validation is executed only when you bind it to a cloud backend action

              About country what do you mean? if it's a SELECT?
              FYI you can add additional validation logique on the pre-event script (configurable in the cloud backend action)

              de5bb37e-adfb-483e-8a03-bd7cb89fd22c-image.png

              1 Reply Last reply Reply Quote 0
              • T
                Thomas D last edited by

                Yes and does that mean that back-end will also validate the input?

                It would make sense if the Country drop-down defaulted to not selected though, that's what everyone will expect when using the validation on it.

                Saying that everything should be fixed by custom code would eventually be annoying.

                1 Reply Last reply Reply Quote 0
                • Joseph Benguira
                  Joseph Benguira last edited by Joseph Benguira

                  No you have to implement the backend validation in your cloud function.

                  About this "Saying that everything should be fixed by custom code would eventually be annoying."
                  It's better to ALWAYS have this option rather than beeing blocked with a dead end.

                  You are free to post features request in the approriate category of this community and we will add it to our queue like usual 😉

                  1 Reply Last reply Reply Quote 0
                  • T
                    Thomas D last edited by Thomas D

                    Oh, but doesn't that defeat the point of VISUAL SELECT and column mapping?

                    Feels like it's "half done" rather than completely usable, why not add validation by regex as a field to the mapping?

                    1 Reply Last reply Reply Quote 0
                    • T
                      Thomas D last edited by

                      @Joseph-Benguira

                      Saying we should do validation in custom JS is short-sighted at best.

                      You expect, without docs, the developer to figure out:

                      • How to trigger the error message in multiple languages.
                      • How to display the error and where and how to do that (JS or jQuery)
                      • Expect the developer to know jQuery well enough.

                      At least give us the Front-end Javascript docs so we an do things properly.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post