We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2762
    • 1,198 Posts
    Is it possible to create a form that search in a specific or more templatevars output?

    example: a serch form that

    search for [*name*]
    search for [*birth date*]
    search for [*work*]...
      Free MODx Graphic resources and Templates www.tattoocms.it
      -----------------------------------------------------

      MODx IT  www.modx.it
      -----------------------------------------------------

      bubuna.com - Web & Multimedia Design
      • 32963
      • 1,732 Posts
      hmmm,

      You mean to search the output generated by the getTemaplteVarOutput function or to add a search form on the page?

        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 2762
        • 1,198 Posts
        Sorry for my bad english xwisd grin

        i had create an archive of people, creating different pages with tv like [*name*] [*surname*] [*photo*] [*address**] etc...

        no i will create a new page with a form that search these people, using different field (like name, surname..)

        thenk you
          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 32963
          • 1,732 Posts

          Ok,

          Have a look at the getTemplateVar functions and create a snippet that does the the actual search. See the "API Quick Reference Guide" tutorial for some discription of the functions.



            xWisdom
            www.xwisdomhtml.com
            The fear of the Lord is the beginning of wisdom:
            MODx Co-Founder - Create and do more with less.