Uploaded image for project: 'XReports Module'
  1. XReports Module
  2. XREP-6

Validation on user inputs before submit

    XMLWordPrintable

Details

    • Low

    Description

      In Xreports module when we create a new report group it asks some user inputs which are name, identifier, display order, parent group.

      But when we keep name field empty and also when we enter some string that not a number to display order field it gives following error 

       

       

      But we can validate that user inputs and check whether that name is not empty and display order is not a number using javascript before submit and we can show instructions using alert boxes to the user. using this we can avoid redirecting above error page before submitting the request

      later we can implement this to the whole module and all the modules also

       

      Gliffy Diagrams

        Attachments

          1. error.PNG
            error.PNG
            73 kB
          2. error2.PNG
            error2.PNG
            25 kB
          3. error3.PNG
            error3.PNG
            27 kB
          4. image-2021-03-04-16-55-34-499.png
            image-2021-03-04-16-55-34-499.png
            61 kB
          5. image-2021-03-04-17-00-45-176.png
            image-2021-03-04-17-00-45-176.png
            59 kB

          Activity

            People

              ndacyayisenga TAYEBWA NOAH
              jayamal Jayamal Jayamaha
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h