We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32380
    • 137 Posts
    This is probably a very silly question but i cannot figure it out,

    i have 2 forms one contact us and 1 feed back form, i have managet to get one form working if i edit the info in the eForm snippet but i now want an addition form (cont us) but cannot work out how it works i have used the following calls

    form 1 [!eForm? &to=`[email protected]` &tlp=`form` &thankyou=`thanks` &report=`report` &subject=`Web site feedback`!] form 2 [!eForm? &to=`[email protected]` &tlp=`contact` &thankyou=`thanks2` &report=`report2` &subject=`contact`!]

    i have created the chunks with corrosponding names but it will only work if i fill in the eForm snippet! if i dont fill n the snippet i get the following error Document or chunk not found for template id= ’’

    Please help im quite new to modx!!
      • 7455
      • 2,204 Posts
      you need the formid parameter and set the form id in the chunks they must be differend from eachother to work
      in the form it would be somthing like this:
      <input type="hidden" name="formid" value="contactform"/>

      and in the call add &formid=`contactform`

      change the contactform part for the 2nd form

      dimmy
        follow me on twitter: @dimmy01
        • 32380
        • 137 Posts
        Thanks for your quick responce i have now got it working, easy when you know how!!

        Thanks again