how to add a feedback form in modx

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajeeshc
    New Member
    • Sep 2009
    • 20

    how to add a feedback form in modx

    how to add feedback form in modx (please code with snippet and chunk data also some
    i am relatively new to the modx
    please help me with full code
    Last edited by Dormilich; Oct 5 '09, 02:02 PM. Reason: corrected title
  • anfetienne
    Contributor
    • Feb 2009
    • 424

    #2
    hi,

    snippets are used for php codes right?

    from what i know with working with modx im sure you would write you code in php as if it were a standard contact form and import that into a snippet and its the same with the code to save data into a DB and calling data from the DB as well.... write the code and add to a snippet

    Comment

    • ajeeshc
      New Member
      • Sep 2009
      • 20

      #3
      thank you
      but in my case there is no db just to send mail to the admin by clicking button
      do u have any code of that

      Comment

      • anfetienne
        Contributor
        • Feb 2009
        • 424

        #4
        ok here is code i've written and used plenty of times before, how it works is they fill out a form it goes to php which then send all form values to the admin i.e. $toAddress and also send a copy/receipt of the details entered to the user

        you chunk should be your html code for the form
        <full code solution removed>
        Last edited by Markus; Oct 5 '09, 01:00 PM. Reason: Removed full code solution.

        Comment

        • ajeeshc
          New Member
          • Sep 2009
          • 20

          #5
          thank u so much its working up to my expectation

          Comment

          • anfetienne
            Contributor
            • Feb 2009
            • 424

            #6
            no problem....glad i could help

            Comment

            Working...