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.

    Search and Results

    General Discussion
    6
    18
    1365
    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.
    • Dick Honing
      Dick Honing @Wassim last edited by

      @wassim Hi Wassim, thanks for you advise. Can you please tell me how I can get the value of input field FirstName in the URL? Screenshot 2020-06-23 at 09.03.53.png

      1 Reply Last reply Reply Quote 0
      • Wassim
        Wassim last edited by

        You must do some Javascript to do it this way

        Dick Honing 1 Reply Last reply Reply Quote 0
        • Dick Honing
          Dick Honing @Thomas D last edited by

          @ThomasD Hi Thomas, thanks for the tip! Do you know where I can find examples of such a javascript search?

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

            @Dick-Honing

            There are many, see this one for a simple-to-use one:
            https://lucaong.github.io/minisearch/

            You need to use the back-end to build the index and save it to a file.

            Then a new function to return the Index file to the browser, load that into minisearch and do the search in an input.

            1 Reply Last reply Reply Quote 0
            • Dick Honing
              Dick Honing @Wassim last edited by

              @wassim Is it not possible to do a simple search and results page via AppDrag's page builder?

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

                @Dick-Honing Can't search normal .html pages in Appdrag, you'd need an external indexing service like https://www.algolia.com/

                Dick Honing 1 Reply Last reply Reply Quote 0
                • Dick Honing
                  Dick Honing @Thomas D last edited by

                  @ThomasD Hi Thomas, I do not want to search the html pages, but let the user enter a value in a text (input) field, click a button (Search/Find) which calls my API Function. Then I want to display the found records in a list on that same page. See for example this screenshot of something I built in FileMaker and now want to reproduce this in AppDrag.Screenshot 2020-06-23 at 16.30.22.png

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

                    I can confirm you will need custom javascript code to call your API endpoint and generate results to be added on the page
                    without page reload

                    Another option might be Dynamic Datasource, please check this video tutorial: https://academy.appdrag.com/FullStack-with-cloud-backend-Episode-5.html

                    But I believe first option with javascript is really what you are looking for

                    1 Reply Last reply Reply Quote 0
                    • Daniel Mulroy
                      Daniel Mulroy last edited by Daniel Mulroy

                      Hi Dick,

                      I replied in your other thread about javascript for URL parameters.

                      I just wanted to check, have you considered/tried using AppDrag's shop? It has a built-in search feature for this purpose 🙂
                      Screenshot 2020-06-24 08.49.38.png

                      1 Reply Last reply Reply Quote 1
                      • Linda MacDonald
                        Linda MacDonald last edited by Linda MacDonald

                        @Dick-Honing @Daniel-Mulroy @Joseph-Benguira @Wassim @ThomasD I don't know if this helps any but I am always on the lookout for cool search functionality and stumbled upon a really cool one yesterday - it gives you real-time search, i.e. search results as you type. It's platform agnostic so you can use it with any flavour of javascript and open source (free to use) 🙂 it's called minisearch and can be found on github - if you scroll down on their github page they even have a cdn link so making it more userfriendly for non-tech use. Just thought I'd mention

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

                          @Linda-MacDonald said in Search and Results:

                          minisearch

                          https://github.com/lucaong/minisearch
                          https://lucaong.github.io/minisearch/examples/

                          I've checked it and it seems great, similar to algolia but a bit simpler and free 🙂

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