Support » Everything else WordPress » Word Template with form

  • Resolved Labradoodle101

    (@labradoodle101)


    Hell I am trying to build a page where the user can just put in their name, phone, address and email. After they hit the send button, their information will be replaced with a document template. For example like this.

    Hello this is [first_name] from [address] and would like you to know this.

    So once I hit the send button not only do I want the info to be replaced but I also want it to automatically send it to a particular email(in my case a senator or assemblyman).

    Do you guys know of any plugin like this? Someone suggested for me to use Gravity forms but I don’t know how would I be able to use the info and then send it automatically

Viewing 3 replies - 1 through 3 (of 3 total)
  • Gravity Forms would be able to do this pretty easily. I don’t know if it will show the result to you on the screen, but you can set it to send off to anyone that you need to. You can use it’s field values in the resonse body to build pretty much any text that you want.

    Thread Starter Labradoodle101

    (@labradoodle101)

    Thanks for the response, I did manage to do that. However my problem now is I want the email sent to a particular senator or more depending on what state they selected, as well as access their name. For example, if they choose California then it will select CA senator’s name and it’s correct email automatically.

    The content in the admin area will look kinda like this
    To: (California senator email)i
    From: (full name from form)
    Message: dear senator (CA senator name) blah blah blah.

    Is there a way to store them as an array or something and when someone chooses a particular state, it gets it’s appropriate senator email and name?

    Yes gravity forms have conditional logic and allows fields to be pre populated or be used in the way you want

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Word Template with form’ is closed to new replies.